Esempio n. 1
0
 public static string ReadJson <TView>(this IViewDb viewDb, bool strict = true) where TView : View
 {
     return(viewDb.ReadJson <TView>(Id.Unassigned, strict));
 }
Esempio n. 2
0
 public static string ReadJson(this IViewDb viewDb, ViewType viewType, bool strict = true)
 {
     return(viewDb.ReadJson(viewType, Id.Unassigned, strict));
 }
Esempio n. 3
0
 public static string ReadJson <TView>(this IViewDb viewDb, Id id, bool strict = true) where TView : View
 {
     return(viewDb.ReadJson(typeof(TView), id, strict));
 }
Esempio n. 4
0
        //
        // JSON
        //

        public static string ReadJson(this IViewDb viewDb, Type viewType, Id id, bool strict = true)
        {
            return(viewDb.ReadJson(viewType, id, strict));
        }
Esempio n. 5
0
 public static View Read(this IViewDb viewDb, Type viewType, bool strict = true)
 {
     return(viewDb.Read(viewType, Id.Unassigned, strict));
 }
Esempio n. 6
0
 public static View Read(this IViewDb viewDb, ViewType viewType, Id id, bool strict = true)
 {
     return(viewDb.Read(viewType.DeclaredType, id, strict));
 }
Esempio n. 7
0
 public static TView Read <TView>(this IViewDb viewDb, Id id, bool strict = true) where TView : View
 {
     return((TView)viewDb.Read(typeof(TView), id, strict));
 }