Example #1
0
 public static View Read(this IViewDb viewDb, ViewType viewType, bool strict = true)
 {
     return(viewDb.Read(viewType, Id.Unassigned, strict));
 }
Example #2
0
 public static View Read(this IViewDb viewDb, ViewType viewType, Id id, bool strict = true)
 {
     return(viewDb.Read(viewType.DeclaredType, id, strict));
 }
Example #3
0
 public static TView Read <TView>(this IViewDb viewDb, bool strict = true) where TView : View
 {
     return(viewDb.Read <TView>(Id.Unassigned, strict));
 }
Example #4
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));
 }