public static IQueryLite CreateQueryLite(this DataService dataService, Type entityType, string projectionName) { IProjectedQueryLite queryLite = (IProjectedQueryLite)queryLiteFactoriesCache.GetItem(entityType)(); queryLite.ProjectionName = projectionName; queryLite.DataService = dataService; return(queryLite); }
private static Func <object, object, bool> GetIsModifiedFunction(this Type entityType) { return(isModifiedFunctionCache.GetItem(entityType)); }
public static Func <object> GetDynamicActivator(this Type type) { return(dynamicActivatorsCache.GetItem(type)); }