コード例 #1
0
ファイル: Item.cs プロジェクト: built/BoxBoy
 protected Field AddField(string fieldName, string aka)
 {
     Field field = new Field(fieldName);
     this[fieldName] = field;
     if (this.Adapter != null)
     {
         this.Adapter.mapKey(aka, fieldName);
     }
     return field;
 }
コード例 #2
0
ファイル: Item.cs プロジェクト: built/BoxBoy
 protected Field AddIdField(string fieldName, string aka)
 {
     this.IdField = fieldName;
     Field field = new Field(fieldName);
     this[this.IdField] = field;
     if (this.IsUsingAdapter)
     {
         this.Adapter.mapKey(aka, fieldName);
         this.IdField = aka;
     }
     return field;
 }
コード例 #3
0
ファイル: Item.cs プロジェクト: built/BoxBoy
 // Methods
 protected Field AddField(string fieldName)
 {
     Field field = new Field(fieldName);
     this[fieldName] = field;
     return field;
 }