Пример #1
0
 /// <summary>
 /// Load the extended properties for the entity.
 /// </summary>
 protected override void LoadExtendedProperties()
 {
     if (Boolean.TrueString.Equals(EntitySource.GetAttributeValue(EdmxConstants.IsViewEntityCustomAttribute)))
     {
         ExtendedProperties.Add(EdmxConstants.IsViewEntityCustomAttribute, true);
     }
 }
Пример #2
0
 /// <summary>
 /// Load the extended properties for the entity.
 /// </summary>
 protected override void LoadExtendedProperties()
 {
     if (EntitySource.GetAttributeValue(EdmxConstants.IsFunctionEntityCustomAttribute) != null)
     {
         ExtendedProperties.Add(EdmxConstants.IsFunctionEntityCustomAttribute, true);
     }
 }