Beispiel #1
0
 public CargoRecordSet(CargoModel model, CargoQueryProvider provider)
 {
     Debug.Assert(model != null);
     Debug.Assert(provider != null);
     Debug.Assert(model.ClrType == typeof(T));
     _rootQueryable = new CargoRecordQueryable <T>(provider, new CargoQueryExpression(model));
     Model          = model;
     Provider       = provider;
 }
 internal CargoRecordQueryable(CargoQueryProvider provider, Expression expression, Type elementType)
 {
     Debug.Assert(provider != null);
     Debug.Assert(expression != null);
     Debug.Assert(elementType != null);
     Provider    = provider;
     Expression  = expression;
     ElementType = elementType;
 }