147 references to Int32
System.Data.Entity (145)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
616
return ExpressionBuilder.DbExpressionBuilder.CreatePrimitiveNullExpression(PrimitiveTypeKind.
Int32
);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
47
private static readonly DbNullExpression _int32Null = Null(EdmProviderManifest.Instance.GetCanonicalModelTypeUsage(PrimitiveTypeKind.
Int32
));
2684
case PrimitiveTypeKind.
Int32
:
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
234
case PrimitiveTypeKind.
Int32
:
System\Data\Common\DbCommandDefinition.cs (1)
160
case PrimitiveTypeKind.
Int32
:
System\Data\Common\Internal\DbTypeMap.cs (1)
48
internal static readonly TypeUsage Int32 = CreateType(PrimitiveTypeKind.
Int32
);
System\Data\EntityModel\SchemaObjectModel\IntegerFacetDescriptionElement.cs (1)
27
get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
); }
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
79
case PrimitiveTypeKind.
Int32
:
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (1)
203
.Single(t => t is ScalarType && ((ScalarType)t).TypeKind == PrimitiveTypeKind.
Int32
);
System\Data\EntityModel\SchemaObjectModel\SridFacetDescriptionElement.cs (1)
27
get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
); }
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (2)
238
case PrimitiveTypeKind.
Int32
:
747
case PrimitiveTypeKind.
Int32
:
System\Data\Mapping\StorageMappingItemLoader.cs (1)
3331
case PrimitiveTypeKind.
Int32
:
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
66
typeDefaultMap[PrimitiveTypeKind.
Int32
] = default(Int32);
System\Data\Metadata\Converter.cs (2)
37
underlyingType: PrimitiveType.GetEdmPrimitiveType(PrimitiveTypeKind.
Int32
),
53
underlyingType: PrimitiveType.GetEdmPrimitiveType(PrimitiveTypeKind.
Int32
),
System\Data\Metadata\Edm\EnumType.cs (1)
47
_underlyingType = PrimitiveType.GetEdmPrimitiveType(PrimitiveTypeKind.
Int32
);
System\Data\Metadata\Edm\FacetDescription.cs (1)
284
primitiveType.PrimitiveTypeKind == PrimitiveTypeKind.
Int32
;
System\Data\Metadata\Edm\PrimitiveType.cs (1)
193
case PrimitiveTypeKind.
Int32
:
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (3)
110
primitiveTypeKind = PrimitiveTypeKind.
Int32
;
218
primitiveTypes[(int)PrimitiveTypeKind.
Int32
] = CreatePrimitiveType(typeof(Int32), PrimitiveTypeKind.
Int32
);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (63)
134
primitiveTypes[(int)PrimitiveTypeKind.
Int32
] = new PrimitiveType();
166
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.
Int32
], PrimitiveTypeKind.
Int32
, EdmConstants.Int32, typeof(Int32));
356
MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
),
379
MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
),
448
MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
),
471
MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.
Int32
),
511
PrimitiveTypeKind.
Int32
,
526
PrimitiveTypeKind.
Int32
,
535
PrimitiveTypeKind.
Int32
,
544
functions.ForAllBasePrimitiveTypes(type => functions.AddAggregate(PrimitiveTypeKind.
Int32
, "Count", type));
555
functions.AddFunction(PrimitiveTypeKind.
Int32
, "Length", PrimitiveTypeKind.String, "stringArgument");
560
PrimitiveTypeKind.
Int32
,
569
functions.AddFunction(PrimitiveTypeKind.
Int32
, "IndexOf", PrimitiveTypeKind.String, "searchString", PrimitiveTypeKind.String, "stringToFind");
583
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Year", type, "dateValue"));
584
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Month", type, "dateValue"));
585
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Day", type, "dateValue"));
586
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DayOfYear", type, "dateValue"));
591
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Hour", type, "timeValue"));
592
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Minute", type, "timeValue"));
593
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Second", type, "timeValue"));
594
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "Millisecond", type, "timeValue"));
598
functions.AddFunction(PrimitiveTypeKind.
Int32
, "GetTotalOffsetMinutes", PrimitiveTypeKind.DateTimeOffset, "dateTimeOffsetArgument");
605
functions.AddFunction(PrimitiveTypeKind.DateTime, "CreateDateTime", PrimitiveTypeKind.
Int32
, "year",
606
PrimitiveTypeKind.
Int32
, "month",
607
PrimitiveTypeKind.
Int32
, "day",
608
PrimitiveTypeKind.
Int32
, "hour",
609
PrimitiveTypeKind.
Int32
, "minute",
614
functions.AddFunction(PrimitiveTypeKind.DateTimeOffset, "CreateDateTimeOffset", PrimitiveTypeKind.
Int32
, "year",
615
PrimitiveTypeKind.
Int32
, "month",
616
PrimitiveTypeKind.
Int32
, "day",
617
PrimitiveTypeKind.
Int32
, "hour",
618
PrimitiveTypeKind.
Int32
, "minute",
620
PrimitiveTypeKind.
Int32
, "timeZoneOffset");
623
functions.AddFunction(PrimitiveTypeKind.Time, "CreateTime", PrimitiveTypeKind.
Int32
, "hour", PrimitiveTypeKind.
Int32
, "minute", PrimitiveTypeKind.Double, "second");
626
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(type, "AddYears", type, "dateValue", PrimitiveTypeKind.
Int32
, "addValue"));
627
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(type, "AddMonths", type, "dateValue", PrimitiveTypeKind.
Int32
, "addValue"));
628
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(type, "AddDays", type, "dateValue", PrimitiveTypeKind.
Int32
, "addValue"));
630
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddHours", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
631
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddMinutes", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
632
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddSeconds", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
633
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddMilliseconds", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
634
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddMicroseconds", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
635
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(type, "AddNanoseconds", type, "timeValue", PrimitiveTypeKind.
Int32
, "addValue"));
638
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffYears", type, "dateValue1", type, "dateValue2"));
639
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffMonths", type, "dateValue1", type, "dateValue2"));
640
functions.ForTypes(dateTimeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffDays", type, "dateValue1", type, "dateValue2"));
642
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffHours", type, "timeValue1", type, "timeValue2"));
643
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffMinutes", type, "timeValue1", type, "timeValue2"));
644
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffSeconds", type, "timeValue1", type, "timeValue2"));
645
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffMilliseconds", type, "timeValue1", type, "timeValue2"));
646
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffMicroseconds", type, "timeValue1", type, "timeValue2"));
647
functions.ForTypes(timeParameterTypes, type => functions.AddFunction(PrimitiveTypeKind.
Int32
, "DiffNanoseconds", type, "timeValue1", type, "timeValue2"));
664
functions.ForTypes(parameterTypes, type => functions.AddFunction(type, "Round", type, "value", PrimitiveTypeKind.
Int32
, "digits"));
665
functions.ForTypes(parameterTypes, type => functions.AddFunction(type, "Truncate", type, "value", PrimitiveTypeKind.
Int32
, "digits"));
671
PrimitiveTypeKind.
Int32
,
680
PrimitiveTypeKind.
Int32
,
701
PrimitiveTypeKind.
Int32
,
765
_primitiveTypes[(int)PrimitiveTypeKind.
Int32
],
777
_primitiveTypes[(int)PrimitiveTypeKind.
Int32
],
787
promotionTypes[(int)PrimitiveTypeKind.
Int32
] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] {
788
_primitiveTypes[(int)PrimitiveTypeKind.
Int32
],
System\Data\Metadata\Edm\Provider\EdmProviderManifestSpatialFunctions.cs (48)
31
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryFromText", PrimitiveTypeKind.String, "geometryText", PrimitiveTypeKind.
Int32
, "srid");
32
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryPointFromText", PrimitiveTypeKind.String, "pointText", PrimitiveTypeKind.
Int32
, "srid");
33
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryLineFromText", PrimitiveTypeKind.String, "lineText", PrimitiveTypeKind.
Int32
, "srid");
34
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryPolygonFromText", PrimitiveTypeKind.String, "polygonText", PrimitiveTypeKind.
Int32
, "srid");
35
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiPointFromText", PrimitiveTypeKind.String, "multiPointText", PrimitiveTypeKind.
Int32
, "srid");
36
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiLineFromText", PrimitiveTypeKind.String, "multiLineText", PrimitiveTypeKind.
Int32
, "srid");
37
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiPolygonFromText", PrimitiveTypeKind.String, "multiPolygonText", PrimitiveTypeKind.
Int32
, "srid");
38
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryCollectionFromText", PrimitiveTypeKind.String, "geometryCollectionText", PrimitiveTypeKind.
Int32
, "srid");
40
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryFromBinary", PrimitiveTypeKind.Binary, "geometryBytes", PrimitiveTypeKind.
Int32
, "srid");
41
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryPointFromBinary", PrimitiveTypeKind.Binary, "pointBytes", PrimitiveTypeKind.
Int32
, "srid");
42
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryLineFromBinary", PrimitiveTypeKind.Binary, "lineBytes", PrimitiveTypeKind.
Int32
, "srid");
43
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryPolygonFromBinary", PrimitiveTypeKind.Binary, "polygonBytes", PrimitiveTypeKind.
Int32
, "srid");
44
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiPointFromBinary", PrimitiveTypeKind.Binary, "multiPointBytes", PrimitiveTypeKind.
Int32
, "srid");
45
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiLineFromBinary", PrimitiveTypeKind.Binary, "multiLineBytes", PrimitiveTypeKind.
Int32
, "srid");
46
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryMultiPolygonFromBinary", PrimitiveTypeKind.Binary, "multiPolygonBytes", PrimitiveTypeKind.
Int32
, "srid");
47
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryCollectionFromBinary", PrimitiveTypeKind.Binary, "geometryCollectionBytes", PrimitiveTypeKind.
Int32
, "srid");
49
functions.AddFunction(PrimitiveTypeKind.Geometry, "GeometryFromGml", PrimitiveTypeKind.String, "geometryGml", PrimitiveTypeKind.
Int32
, "srid");
50
functions.AddFunction(PrimitiveTypeKind.
Int32
, "CoordinateSystemId", PrimitiveTypeKind.Geometry, "geometryValue");
52
functions.AddFunction(PrimitiveTypeKind.
Int32
, "SpatialDimension", PrimitiveTypeKind.Geometry, "geometryValue");
77
functions.AddFunction(PrimitiveTypeKind.
Int32
, "SpatialElementCount", PrimitiveTypeKind.Geometry, "geometryValue");
78
functions.AddFunction(PrimitiveTypeKind.Geometry, "SpatialElementAt", PrimitiveTypeKind.Geometry, "geometryValue", PrimitiveTypeKind.
Int32
, "nValue");
88
functions.AddFunction(PrimitiveTypeKind.
Int32
, "PointCount", PrimitiveTypeKind.Geometry, "geometryValue");
89
functions.AddFunction(PrimitiveTypeKind.Geometry, "PointAt", PrimitiveTypeKind.Geometry, "geometryValue", PrimitiveTypeKind.
Int32
, "nValue");
94
functions.AddFunction(PrimitiveTypeKind.
Int32
, "InteriorRingCount", PrimitiveTypeKind.Geometry, "geometryValue");
95
functions.AddFunction(PrimitiveTypeKind.Geometry, "InteriorRingAt", PrimitiveTypeKind.Geometry, "geometryValue", PrimitiveTypeKind.
Int32
, "nValue");
99
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyFromText", PrimitiveTypeKind.String, "geographyText", PrimitiveTypeKind.
Int32
, "srid");
100
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyPointFromText", PrimitiveTypeKind.String, "pointText", PrimitiveTypeKind.
Int32
, "srid");
101
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyLineFromText", PrimitiveTypeKind.String, "lineText", PrimitiveTypeKind.
Int32
, "srid");
102
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyPolygonFromText", PrimitiveTypeKind.String, "polygonText", PrimitiveTypeKind.
Int32
, "srid");
103
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiPointFromText", PrimitiveTypeKind.String, "multiPointText", PrimitiveTypeKind.
Int32
, "srid");
104
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiLineFromText", PrimitiveTypeKind.String, "multiLineText", PrimitiveTypeKind.
Int32
, "srid");
105
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiPolygonFromText", PrimitiveTypeKind.String, "multiPolygonText", PrimitiveTypeKind.
Int32
, "srid");
106
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyCollectionFromText", PrimitiveTypeKind.String, "geographyCollectionText", PrimitiveTypeKind.
Int32
, "srid");
107
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyFromBinary", PrimitiveTypeKind.Binary, "geographyBytes", PrimitiveTypeKind.
Int32
, "srid");
109
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyPointFromBinary", PrimitiveTypeKind.Binary, "pointBytes", PrimitiveTypeKind.
Int32
, "srid");
110
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyLineFromBinary", PrimitiveTypeKind.Binary, "lineBytes", PrimitiveTypeKind.
Int32
, "srid");
111
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyPolygonFromBinary", PrimitiveTypeKind.Binary, "polygonBytes", PrimitiveTypeKind.
Int32
, "srid");
112
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiPointFromBinary", PrimitiveTypeKind.Binary, "multiPointBytes", PrimitiveTypeKind.
Int32
, "srid");
113
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiLineFromBinary", PrimitiveTypeKind.Binary, "multiLineBytes", PrimitiveTypeKind.
Int32
, "srid");
114
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyMultiPolygonFromBinary", PrimitiveTypeKind.Binary, "multiPolygonBytes", PrimitiveTypeKind.
Int32
, "srid");
115
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyCollectionFromBinary", PrimitiveTypeKind.Binary, "geographyCollectionBytes", PrimitiveTypeKind.
Int32
, "srid");
117
functions.AddFunction(PrimitiveTypeKind.Geography, "GeographyFromGml", PrimitiveTypeKind.String, "geographyGml", PrimitiveTypeKind.
Int32
, "srid");
118
functions.AddFunction(PrimitiveTypeKind.
Int32
, "CoordinateSystemId", PrimitiveTypeKind.Geography, "geographyValue");
120
functions.AddFunction(PrimitiveTypeKind.
Int32
, "SpatialDimension", PrimitiveTypeKind.Geography, "geographyValue");
134
functions.AddFunction(PrimitiveTypeKind.
Int32
, "SpatialElementCount", PrimitiveTypeKind.Geography, "geographyValue");
135
functions.AddFunction(PrimitiveTypeKind.Geography, "SpatialElementAt", PrimitiveTypeKind.Geography, "geographyValue", PrimitiveTypeKind.
Int32
, "nValue");
144
functions.AddFunction(PrimitiveTypeKind.
Int32
, "PointCount", PrimitiveTypeKind.Geography, "geographyValue");
145
functions.AddFunction(PrimitiveTypeKind.Geography, "PointAt", PrimitiveTypeKind.Geography, "geographyValue", PrimitiveTypeKind.
Int32
, "nValue");
System\Data\Metadata\Helper.cs (2)
510
typeKind == PrimitiveTypeKind.
Int32
||
520
{ PrimitiveTypeKind.
Int32
, new long[] { Int32.MinValue, Int32.MaxValue } },
System\Data\Metadata\TypeHelpers.cs (1)
789
case PrimitiveTypeKind.
Int32
:
System\Data\Metadata\TypeSemantics.cs (1)
431
case PrimitiveTypeKind.
Int32
:
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
572
case PrimitiveTypeKind.
Int32
:
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
1194
!TypeSemantics.IsPrimitiveType(argument.ResultType, PrimitiveTypeKind.
Int32
))
2000
TypeUsage intTypeUsage = TypeUsage.CreateDefaultTypeUsage(EdmProviderManifest.Instance.GetPrimitiveType(PrimitiveTypeKind.
Int32
));
System\Data\Query\InternalTrees\Command.cs (1)
68
if (!TryGetPrimitiveType(PrimitiveTypeKind.
Int32
, out m_intType))
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
385
if (System.Data.Common.TypeHelpers.TryGetPrimitiveTypeKind(v.Type, out typeKind) && typeKind == System.Data.Metadata.Edm.PrimitiveTypeKind.
Int32
)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
916
case PrimitiveTypeKind.
Int32
:
System\Data\SqlClient\SqlProviderManifest.cs (1)
537
case PrimitiveTypeKind.
Int32
:
System\Data\SqlClient\SqlProviderServices.cs (1)
512
case PrimitiveTypeKind.
Int32
:
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
708
case PrimitiveTypeKind.
Int32
:
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
630
case PrimitiveTypeKind.
Int32
: