/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public StoreFunction(IRuntimeDbFunction dbFunction, RelationalModel model) : base(dbFunction.Name, dbFunction.Schema, model) { DbFunctions = new SortedDictionary <string, IDbFunction> { { dbFunction.ModelName, dbFunction } }; IsBuiltIn = dbFunction.IsBuiltIn; ReturnType = dbFunction.StoreType; Parameters = new StoreFunctionParameter[dbFunction.Parameters.Count]; for (var i = 0; i < dbFunction.Parameters.Count; i++) { Parameters[i] = new StoreFunctionParameter(this, (IRuntimeDbFunctionParameter)dbFunction.Parameters[i]); } dbFunction.StoreFunction = this; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public TableBase([NotNull] string name, [CanBeNull] string schema, [NotNull] RelationalModel model) { Schema = schema; Name = name; Model = model; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public View([NotNull] string name, [CanBeNull] string schema, [NotNull] RelationalModel model) : base(name, schema, model) { }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public View(string name, string?schema, RelationalModel model) : base(name, schema, model) { }
public Table([NotNull] string name, [CanBeNull] string?schema, [NotNull] RelationalModel model) : base(name, schema, model) { Columns = new SortedDictionary <string, IColumnBase>(new ColumnNameComparer(this)); }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public TableBase(string name, string?schema, RelationalModel model) { Schema = schema; Name = name; Model = model; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public Table(string name, string?schema, RelationalModel model) : base(name, schema, model) { Columns = new SortedDictionary <string, ColumnBase>(new ColumnNameComparer(this)); }
public SqlQuery([NotNull] string name, [NotNull] RelationalModel model, [NotNull] string sql) : base(name, null, model) { Sql = sql; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public SqlQuery(string name, RelationalModel model, string sql) : base(name, null, model) { Sql = sql; }