//--------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner willa // @backupOwner Microsoft //--------------------------------------------------------------------- using System.Runtime.Serialization; namespace System.Data.Spatial { /// /// A data contract serializable representation of a value. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")] [DataContract] public sealed class DbGeometryWellKnownValue { public DbGeometryWellKnownValue() { } /// /// Gets or sets the coordinate system identifier (SRID) of this value. /// [DataMember(Order=1, IsRequired=false, EmitDefaultValue=false)] public int CoordinateSystemId { get; set; } /// /// Gets or sets the well known text representation of this value. /// [DataMember(Order=2, IsRequired=false, EmitDefaultValue=false)] public string WellKnownText { get; set; } /// /// Gets or sets the well known binary representation of this value. /// [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; } } }