Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / System.Data.Entity / System / Data / Objects / SqlClient / SqlSpatialFunctions.cs
blob1c1dd30bbc7c86cdad614464077e1a0da60f283f
1 //------------------------------------------------------------------------------
2 // <copyright file="SqlSpatialFunctions.cs company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 // </copyright>
6 // <auto-generated>
7 // This code was generated by a tool.
8 // Generation date and time : 10/12/2011 16:04:41.8136839
9 //
10 // Changes to this file will be lost if the code is regenerated.
11 // </auto-generated>
13 // @owner Microsoft
14 // @backupOwner Microsoft
15 //------------------------------------------------------------------------------
17 using System.Collections.Generic;
18 using System.Data.Objects;
19 using System.Data.Objects.DataClasses;
20 using System.Linq;
21 using System.Linq.Expressions;
22 using System.Reflection;
24 namespace System.Data.Objects.SqlClient
26 /// <summary>
27 /// Contains function stubs that expose SqlServer methods in Linq to Entities.
28 /// </summary>
29 public static class SqlSpatialFunctions
31 /// <summary>
32 /// Proxy for the function SqlServer.POINTGEOGRAPHY
33 /// </summary>
34 [EdmFunction("SqlServer", "POINTGEOGRAPHY")]
35 public static System.Data.Spatial.DbGeography PointGeography(System.Double? latitude, System.Double? longitude, System.Int32? spatialReferenceId)
37 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
40 /// <summary>
41 /// Proxy for the function SqlServer.ASTEXTZM
42 /// </summary>
43 [EdmFunction("SqlServer", "ASTEXTZM")]
44 public static System.String AsTextZM(System.Data.Spatial.DbGeography geographyValue)
46 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
49 /// <summary>
50 /// Proxy for the function SqlServer.BUFFERWITHTOLERANCE
51 /// </summary>
52 [EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
53 public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative)
55 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
58 /// <summary>
59 /// Proxy for the function SqlServer.ENVELOPEANGLE
60 /// </summary>
61 [EdmFunction("SqlServer", "ENVELOPEANGLE")]
62 public static System.Double? EnvelopeAngle(System.Data.Spatial.DbGeography geographyValue)
64 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
67 /// <summary>
68 /// Proxy for the function SqlServer.ENVELOPECENTER
69 /// </summary>
70 [EdmFunction("SqlServer", "ENVELOPECENTER")]
71 public static System.Data.Spatial.DbGeography EnvelopeCenter(System.Data.Spatial.DbGeography geographyValue)
73 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
76 /// <summary>
77 /// Proxy for the function SqlServer.FILTER
78 /// </summary>
79 [EdmFunction("SqlServer", "FILTER")]
80 public static System.Boolean? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther)
82 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
85 /// <summary>
86 /// Proxy for the function SqlServer.INSTANCEOF
87 /// </summary>
88 [EdmFunction("SqlServer", "INSTANCEOF")]
89 public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeography geographyValue, System.String geometryTypeName)
91 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
94 /// <summary>
95 /// Proxy for the function SqlServer.NUMRINGS
96 /// </summary>
97 [EdmFunction("SqlServer", "NUMRINGS")]
98 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Num", Justification = "Naming convention prescribed by OGC specification")]
99 public static System.Int32? NumRings(System.Data.Spatial.DbGeography geographyValue)
101 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
104 /// <summary>
105 /// Proxy for the function SqlServer.REDUCE
106 /// </summary>
107 [EdmFunction("SqlServer", "REDUCE")]
108 public static System.Data.Spatial.DbGeography Reduce(System.Data.Spatial.DbGeography geographyValue, System.Double? tolerance)
110 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
113 /// <summary>
114 /// Proxy for the function SqlServer.RINGN
115 /// </summary>
116 [EdmFunction("SqlServer", "RINGN")]
117 public static System.Data.Spatial.DbGeography RingN(System.Data.Spatial.DbGeography geographyValue, System.Int32? index)
119 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
122 /// <summary>
123 /// Proxy for the function SqlServer.POINTGEOMETRY
124 /// </summary>
125 [EdmFunction("SqlServer", "POINTGEOMETRY")]
126 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Justification = "Naming convention prescribed by OGC specification")]
127 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "y", Justification = "Naming convention prescribed by OGC specification")]
128 public static System.Data.Spatial.DbGeometry PointGeometry(System.Double? xCoordinate, System.Double? yCoordinate, System.Int32? spatialReferenceId)
130 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
133 /// <summary>
134 /// Proxy for the function SqlServer.ASTEXTZM
135 /// </summary>
136 [EdmFunction("SqlServer", "ASTEXTZM")]
137 public static System.String AsTextZM(System.Data.Spatial.DbGeometry geometryValue)
139 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
142 /// <summary>
143 /// Proxy for the function SqlServer.BUFFERWITHTOLERANCE
144 /// </summary>
145 [EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
146 public static System.Data.Spatial.DbGeometry BufferWithTolerance(System.Data.Spatial.DbGeometry geometryValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative)
148 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
151 /// <summary>
152 /// Proxy for the function SqlServer.INSTANCEOF
153 /// </summary>
154 [EdmFunction("SqlServer", "INSTANCEOF")]
155 public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeometry geometryValue, System.String geometryTypeName)
157 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
160 /// <summary>
161 /// Proxy for the function SqlServer.FILTER
162 /// </summary>
163 [EdmFunction("SqlServer", "FILTER")]
164 public static System.Boolean? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther)
166 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
169 /// <summary>
170 /// Proxy for the function SqlServer.MAKEVALID
171 /// </summary>
172 [EdmFunction("SqlServer", "MAKEVALID")]
173 public static System.Data.Spatial.DbGeometry MakeValid(System.Data.Spatial.DbGeometry geometryValue)
175 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
178 /// <summary>
179 /// Proxy for the function SqlServer.REDUCE
180 /// </summary>
181 [EdmFunction("SqlServer", "REDUCE")]
182 public static System.Data.Spatial.DbGeometry Reduce(System.Data.Spatial.DbGeometry geometryValue, System.Double? tolerance)
184 throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);