public Record(Record model) { Contract.Assert(model != null, "The model parameter is null!"); this.Data = model.Data; }
public static Record FromDictionary(Dictionary<string, object> data) { Contract.Assert(data != null, "The data parameter is null!"); Record model = new Record(data); return model; }