21 references to DataServiceCodeVersion
System.Data.Services.Design (21)
System\Data\Entity\Design\Common\EDesignUtil.cs (4)
54
static internal
DataServiceCodeVersion
CheckDataServiceCodeVersionArgument(
DataServiceCodeVersion
value, string paramName)
56
if (value ==
DataServiceCodeVersion
.V1 ||
57
value ==
DataServiceCodeVersion
.V2)
System\Data\EntityModel\DataServiceBuildProvider.cs (8)
286
private
DataServiceCodeVersion
version;
305
internal
DataServiceCodeVersion
Version
460
private static void ValidateParametersInMapFile(XmlDocument document, out
DataServiceCodeVersion
version, out bool useDataServiceCollection)
467
DataServiceCodeVersion
? versionParamValue = null;
500
version = versionParamValue.HasValue ? versionParamValue.Value :
DataServiceCodeVersion
.V1;
534
private static void ValidateVersionParameter(ref
DataServiceCodeVersion
? version, string parameterValue)
540
version =
DataServiceCodeVersion
.V1;
544
version =
DataServiceCodeVersion
.V2;
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
56
if (emitter.Generator.Version !=
DataServiceCodeVersion
.V1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
222
internal
DataServiceCodeVersion
Version
System\Data\EntityModel\EntityClassGenerator.cs (7)
56
private
DataServiceCodeVersion
_version =
DataServiceCodeVersion
.V1;
122
public
DataServiceCodeVersion
Version
578
if (_useDataServiceCollection && _version ==
DataServiceCodeVersion
.V1)
595
private static
DataServiceCodeVersion
GetDataServiceCodeVersionFromEnvironment()
598
DataServiceCodeVersion
.V2 :
599
DataServiceCodeVersion
.V1;