Пример #1
0
 public Record(Record model) {
     Contract.Assert(model != null, "The model parameter is null!");
     this.Data = model.Data;
 }
Пример #2
0
 public static Record FromDictionary(Dictionary<string, object> data) {
     Contract.Assert(data != null, "The data parameter is null!");
     Record model = new Record(data);
     return model;
 }