Пример #1
0
        public Task <TransactionReceipt> StoreRequestAndWaitForReceiptAsync(BigInteger num, CancellationTokenSource cancellationToken = null)
        {
            var storeFunction = new StoreFunction();

            storeFunction.Num = num;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(storeFunction, cancellationToken));
        }
Пример #2
0
        public Task <string> StoreRequestAsync(BigInteger num)
        {
            var storeFunction = new StoreFunction();

            storeFunction.Num = num;

            return(ContractHandler.SendRequestAsync(storeFunction));
        }
 /// <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;
 }
Пример #4
0
 public Task <TransactionReceipt> StoreRequestAndWaitForReceiptAsync(StoreFunction storeFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(storeFunction, cancellationToken));
 }
Пример #5
0
 public Task <string> StoreRequestAsync(StoreFunction storeFunction)
 {
     return(ContractHandler.SendRequestAsync(storeFunction));
 }
Пример #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 FunctionColumn(string name, string type, StoreFunction function)
     : base(name, type, function)
 {
 }
Пример #7
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;
 }