コード例 #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
ファイル: ISchemaTypeMap.cs プロジェクト: Xamla/graph_system
 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]));
 }