コード例 #1
0
ファイル: AttributeMapping.cs プロジェクト: bisand/NetCouch
 internal AttributeMappingTable(AttributeMappingEntity entity, TableBaseAttribute attribute)
 {
     this.entity = entity;
     this.attribute = attribute;
 }
コード例 #2
0
ファイル: AttributeMapping.cs プロジェクト: bisand/NetCouch
 private string GetTableName(MappingEntity entity, TableBaseAttribute attr)
 {
     string name = (attr != null && !string.IsNullOrEmpty(attr.Name))
         ? attr.Name
         : entity.TableId;
     return name;
 }