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

            return(name);
        }
예제 #2
0
 public AttributeMappingTable(AttributeMappingEntity entity, TableBaseAttribute attribute)
 {
     this.entity    = entity;
     this.attribute = attribute;
 }
 private string GetTableName(MappingEntity entity, TableBaseAttribute attr)
 {
     string name = (attr != null && !string.IsNullOrEmpty(attr.Name))
         ? attr.Name
         : entity.TableId;
     return name;
 }
 internal AttributeMappingTable(AttributeMappingEntity entity, TableBaseAttribute attribute)
 {
     this.entity = entity;
     this.attribute = attribute;
 }
예제 #5
0
 private string GetTableName(MappingEntity entity, TableBaseAttribute attr)
 {
     return((attr != null && !string.IsNullOrEmpty(attr.Name)) ? attr.Name : entity.TableId);
 }