Example #1
0
 public DocChange(DocChangeType type, Doc doc, Access.IDataStoreKey key)
 {
     ChangeType = type;
     Doc        = doc;
     Key        = key;
 }
Example #2
0
 public FieldValidationException(Doc doc, string fieldName, string message)
     : this(doc.NonNull(nameof(doc)).Schema.DisplayName,
            doc.Schema[fieldName].NonNull(name : "field {0} not found in schema".Args(fieldName)).Name, message)
 {
 }
Example #3
0
 public FieldValidationException(Doc doc, string fieldName, string message)
     : this(doc.NonNull(text : "doc").Schema.Name,
            doc.Schema[fieldName].NonNull(text : "field {0} not found in schema".Args(fieldName)).Name, message)
 {
 }