Beispiel #1
0
        private string GetTableName(MappingEntity entity, TableBaseAttribute attr)
        {
            string name = (attr != null && !string.IsNullOrEmpty(attr.Name))
                ? attr.Name
                : entity.TableId;

            return(name);
        }
Beispiel #2
0
 internal AttributeMappingTable(AttributeMappingEntity entity, TableBaseAttribute attribute)
 {
     this.entity    = entity;
     this.attribute = attribute;
 }