22 references to Utils
System.Data.Services.Design (22)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (4)
63
typeDecl.CustomAttributes.Add(EmitSimpleAttribute(
Utils
.WebFrameworkCommonNamespace + "." + "DataServiceKeyAttribute", keys));
498
Utils
.WebFrameworkCommonNamespace + "." + "EntityPropertyMappingAttribute",
507
Utils
.WebFrameworkCommonNamespace + "." + "EntityPropertyMappingAttribute",
548
Utils
.WebFrameworkCommonNamespace + "." + "HasStreamAttribute",
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
458
codeField.Name =
Utils
.FieldNameFromPropName(set.Name);
501
string fieldName =
Utils
.FieldNameFromPropName(set.Name);
602
parameter.Name =
Utils
.CamelCase(set.ElementType.Name);
603
parameter.Name =
Utils
.SetSpecialCaseForFxCopOnPropertyName(parameter.Name);
System\Data\EntityModel\Emitters\FixUp.cs (1)
73
string[] nameParts =
Utils
.SplitName(fqName);
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
107
if (item.MetadataProperties.TryGetValue(
Utils
.GetFullyQualifiedCodeGenerationAttributeName(XmlConstants.TypeAccess), false, out metadataProperty))
120
if (item.MetadataProperties.TryGetValue(
Utils
.GetFullyQualifiedCodeGenerationAttributeName(attribute), false, out metadataProperty))
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
59
CodeMemberField memberField = new CodeMemberField(fieldType,
Utils
.FieldNameFromPropName(Item.Name));
339
return new CodeFieldReferenceExpression(ThisRef,
Utils
.FieldNameFromPropName(Item.Name));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
593
return
Utils
.FieldNameFromPropName(PropertyName);
603
return
Utils
.ComplexPropertyInitializedNameFromPropName(PropertyName);
623
&&
Utils
.TryGetPrimitiveTypeKind(property.TypeUsage.EdmType, out type))
System\Data\EntityModel\Emitters\PropertyEmitterBase.cs (1)
77
if (_declaringTypeUsesStandardBaseType &&
Utils
.DoesTypeReserveMemberName(Item.DeclaringType, name, Generator.LanguageAppropriateStringComparer))
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
160
string instanceName = uniqueIdentifierService.AdjustIdentifier(
Utils
.CamelCase(Item.Name));
191
String parameterName = uniqueIdentifierService.AdjustIdentifier(
Utils
.FixParameterName(propertyEmitter.PropertyName, "argument"));
192
parameterName =
Utils
.SetSpecialCaseForFxCopOnPropertyName(parameterName);
System\Data\EntityModel\Emitters\TypeReference.cs (2)
132
return FromString(
Utils
.WebFrameworkNamespace + "." + name, true);
143
return FrameworkGenericClass(
Utils
.WebFrameworkNamespace, name, typeParameter);