public IFunctionBuilder CosmosDb(string connectionName, string leaseConnectionName, Action <ICosmosDbFunctionBuilder> cosmosDbFunctionBuilder)
        {
            CosmosDbFunctionBuilder builder = new CosmosDbFunctionBuilder(connectionName, leaseConnectionName, _definitions);

            cosmosDbFunctionBuilder(builder);
            return(this);
        }
Exemple #2
0
        public IFunctionBuilder CosmosDb(string connectionName, Action <ICosmosDbFunctionBuilder> cosmosDbFunctionBuilder)
        {
            CosmosDbFunctionBuilder builder = new CosmosDbFunctionBuilder(_connectionStringSettingNames, connectionName, connectionName, _definitions);

            cosmosDbFunctionBuilder(builder);
            return(this);
        }