You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
44
external/referencesource/System.Data.Entity/System/Data/Spatial/DbGeometryWellKnownValue.cs
vendored
Normal file
44
external/referencesource/System.Data.Entity/System/Data/Spatial/DbGeometryWellKnownValue.cs
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
//---------------------------------------------------------------------
|
||||
// <copyright file="DbSpatialWellKnownValue.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//
|
||||
// @owner willa
|
||||
// @backupOwner [....]
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
using System.Runtime.Serialization;
|
||||
namespace System.Data.Spatial
|
||||
{
|
||||
/// <summary>
|
||||
/// A data contract serializable representation of a <see cref="DbGeometry"/> value.
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")]
|
||||
[DataContract]
|
||||
public sealed class DbGeometryWellKnownValue
|
||||
{
|
||||
public DbGeometryWellKnownValue()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the coordinate system identifier (SRID) of this value.
|
||||
/// </summary>
|
||||
[DataMember(Order=1, IsRequired=false, EmitDefaultValue=false)]
|
||||
public int CoordinateSystemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the well known text representation of this value.
|
||||
/// </summary>
|
||||
[DataMember(Order=2, IsRequired=false, EmitDefaultValue=false)]
|
||||
public string WellKnownText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the well known binary representation of this value.
|
||||
/// </summary>
|
||||
[DataMember(Order = 3, IsRequired = false, EmitDefaultValue = false)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification = "Required for this feature")]
|
||||
public byte[] WellKnownBinary { get; set; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user