Exemplo n.º 1
0
 public FunctionMapping(
     [NotNull] IEntityType entityType,
     [NotNull] StoreFunction storeFunction,
     [NotNull] DbFunction dbFunction,
     bool includesDerivedTypes)
     : base(entityType, storeFunction, includesDerivedTypes)
 {
     DbFunction = dbFunction;
 }
Exemplo n.º 2
0
 /// <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 StoreFunctionParameter(
     [NotNull] StoreFunction function,
     [NotNull] DbFunctionParameter parameter)
 {
     Function             = function;
     Name                 = parameter.Name;
     Type                 = parameter.StoreType;
     DbFunctionParameters = new List <IDbFunctionParameter> {
         parameter
     };
     parameter.StoreFunctionParameter = this;
 }
Exemplo n.º 3
0
 /// <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 StoreFunctionParameter(
     StoreFunction function,
     IRuntimeDbFunctionParameter parameter)
 {
     Function             = function;
     Name                 = parameter.Name;
     Type                 = parameter.StoreType !;
     DbFunctionParameters = new List <IDbFunctionParameter> {
         parameter
     };
     parameter.StoreFunctionParameter = this;
 }
Exemplo n.º 4
0
 /// <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 FunctionColumn(string name, string type, StoreFunction function)
     : base(name, type, function)
 {
 }
Exemplo n.º 5
0
 public FunctionColumn([NotNull] string name, [NotNull] string type, [NotNull] StoreFunction function)
     : base(name, type, function)
 {
 }
Exemplo n.º 6
0
 /// <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 FunctionMapping(IEntityType entityType, StoreFunction storeFunction, IDbFunction dbFunction, bool includesDerivedTypes)
     : base(entityType, storeFunction, includesDerivedTypes)
 {
     DbFunction = dbFunction;
 }