//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // // // This code was generated by a tool. // Generation date and time : 10/12/2011 16:04:41.8136839 // // Changes to this file will be lost if the code is regenerated. // // @owner Microsoft // @backupOwner Microsoft //------------------------------------------------------------------------------ using System.Collections.Generic; using System.Data.Objects; using System.Data.Objects.DataClasses; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace System.Data.Objects.SqlClient { /// /// Contains function stubs that expose SqlServer methods in Linq to Entities. /// public static class SqlSpatialFunctions { /// /// Proxy for the function SqlServer.POINTGEOGRAPHY /// [EdmFunction("SqlServer", "POINTGEOGRAPHY")] public static System.Data.Spatial.DbGeography PointGeography(System.Double? latitude, System.Double? longitude, System.Int32? spatialReferenceId) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.ASTEXTZM /// [EdmFunction("SqlServer", "ASTEXTZM")] public static System.String AsTextZM(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.BUFFERWITHTOLERANCE /// [EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")] public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.ENVELOPEANGLE /// [EdmFunction("SqlServer", "ENVELOPEANGLE")] public static System.Double? EnvelopeAngle(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.ENVELOPECENTER /// [EdmFunction("SqlServer", "ENVELOPECENTER")] public static System.Data.Spatial.DbGeography EnvelopeCenter(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.FILTER /// [EdmFunction("SqlServer", "FILTER")] public static System.Boolean? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.INSTANCEOF /// [EdmFunction("SqlServer", "INSTANCEOF")] public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeography geographyValue, System.String geometryTypeName) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.NUMRINGS /// [EdmFunction("SqlServer", "NUMRINGS")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Num", Justification = "Naming convention prescribed by OGC specification")] public static System.Int32? NumRings(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.REDUCE /// [EdmFunction("SqlServer", "REDUCE")] public static System.Data.Spatial.DbGeography Reduce(System.Data.Spatial.DbGeography geographyValue, System.Double? tolerance) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.RINGN /// [EdmFunction("SqlServer", "RINGN")] public static System.Data.Spatial.DbGeography RingN(System.Data.Spatial.DbGeography geographyValue, System.Int32? index) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.POINTGEOMETRY /// [EdmFunction("SqlServer", "POINTGEOMETRY")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Justification = "Naming convention prescribed by OGC specification")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "y", Justification = "Naming convention prescribed by OGC specification")] public static System.Data.Spatial.DbGeometry PointGeometry(System.Double? xCoordinate, System.Double? yCoordinate, System.Int32? spatialReferenceId) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.ASTEXTZM /// [EdmFunction("SqlServer", "ASTEXTZM")] public static System.String AsTextZM(System.Data.Spatial.DbGeometry geometryValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.BUFFERWITHTOLERANCE /// [EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")] public static System.Data.Spatial.DbGeometry BufferWithTolerance(System.Data.Spatial.DbGeometry geometryValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.INSTANCEOF /// [EdmFunction("SqlServer", "INSTANCEOF")] public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeometry geometryValue, System.String geometryTypeName) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.FILTER /// [EdmFunction("SqlServer", "FILTER")] public static System.Boolean? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.MAKEVALID /// [EdmFunction("SqlServer", "MAKEVALID")] public static System.Data.Spatial.DbGeometry MakeValid(System.Data.Spatial.DbGeometry geometryValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } /// /// Proxy for the function SqlServer.REDUCE /// [EdmFunction("SqlServer", "REDUCE")] public static System.Data.Spatial.DbGeometry Reduce(System.Data.Spatial.DbGeometry geometryValue, System.Double? tolerance) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); } } }