9 references to EdmScalarPropertyAttribute
System.Data.Entity (9)
System\Data\Metadata\Edm\EdmProperty.cs (1)
95
/// <see cref="System.Data.Objects.DataClasses.
EdmScalarPropertyAttribute
"/> attribute. This flag can
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (8)
472
else if (property.IsDefined(typeof(
EdmScalarPropertyAttribute
), false))
617
Debug.Assert(property.IsDefined(typeof(
EdmScalarPropertyAttribute
), false), "The property must have a scalar attribute");
634
object[] attrs = property.GetCustomAttributes(typeof(
EdmScalarPropertyAttribute
), false);
638
isEntityKeyProperty = ((
EdmScalarPropertyAttribute
)attrs[0]).EntityKeyProperty;
639
bool isNullable = ((
EdmScalarPropertyAttribute
)attrs[0]).IsNullable;
675
var
edmScalarPropertyAttribute = (
EdmScalarPropertyAttribute
)clrProperty.GetCustomAttributes(typeof(
EdmScalarPropertyAttribute
), false).Single();