src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/DomainClasses/EntityTypeBase.cs
/// <summary>
///     Returns a list of key properties that are defined locally in this Entity.
/// </summary>
/// <returns></returns>
Returns a list of key properties that are defined locally in this Entity.
Returns a list of key properties that are defined locally in this Entity .
internal List<Property> GetLocalKeyProperties()
        {
            var keyProperties = new List<Property>();
            foreach (var property in Properties)
            {
                var scalarProperty = property as ScalarProperty;
                if (scalarProperty != null
                    && scalarProperty.EntityKey)
                {
                    keyProperties.Add(property);
                }
            }
            return keyProperties;
        }
internal List < Property > GetLocalKeyProperties ( ) { var keyProperties = new List < Property > ( ) ; foreach ( var property in Properties ) { var scalarProperty = property as ScalarProperty ; if ( scalarProperty != null && scalarProperty . EntityKey ) { keyProperties . Add ( property ) ; } } return keyProperties ; }
Returns a list of key properties that are defined locally in this Entity.
Returns a list of key properties that are defined locally in this Entity .
None