예제 #1
0
 void MapBuiltInList <T>(BuiltInSchema schema)
 {
     this.MapListOf <T>(Schema.BuiltIn[schema]);
 }
예제 #2
0
 public IEditable Create(BuiltInSchema schemaId, bool nullable)
 {
     return(Create(Schema.BuiltIn[schemaId], nullable));
 }
예제 #3
0
 public static void MapBidirectional(this ISchemaTypeMap typeMap, BuiltInSchema builtInSchema, Type type)
 {
     typeMap.MapBidirectional(Schema.BuiltIn[builtInSchema], type);
 }
예제 #4
0
 public static IEditableObject CreateItem(this IEditableFactory factory, BuiltInSchema dataSchema, bool nullable = false)
 {
     return(factory.CreateItem(Schema.BuiltIn[dataSchema], nullable));
 }
예제 #5
0
 public static IEditable CreateFromJson(this IEditableFactory factory, JsonReader reader, BuiltInSchema schema)
 {
     return(factory.CreateFromJson(reader, Schema.BuiltIn[schema]));
 }
예제 #6
0
 public static IEditable CreateFromJson(this IEditableFactory factory, string json, BuiltInSchema schema)
 {
     return(factory.CreateFromJson(json, Schema.BuiltIn[schema]));
 }