Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class CollectionManagerExtensions

Inheritance
object
CollectionManagerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Management.Collections
Assembly: Couchbase.NetClient.dll
Syntax
public static class CollectionManagerExtensions

Methods

View Source

CreateCollectionAsync(ICouchbaseCollectionManager, CollectionSpec)

Declaration
[Obsolete("Use the overload with scope and collection names instead.")]
public static Task CreateCollectionAsync(this ICouchbaseCollectionManager manager, CollectionSpec spec)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
CollectionSpec spec
Returns
Type Description
Task
View Source

CreateCollectionAsync(ICouchbaseCollectionManager, CollectionSpec, Action<CreateCollectionOptions>)

Declaration
[Obsolete("Use the overload with CreateCollectionSettings instead.")]
public static Task CreateCollectionAsync(this ICouchbaseCollectionManager manager, CollectionSpec spec, Action<CreateCollectionOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
CollectionSpec spec
Action<CreateCollectionOptions> configureOptions
Returns
Type Description
Task
View Source

CreateCollectionAsync(ICouchbaseCollectionManager, string, string, CreateCollectionSettings, Action<CreateCollectionOptions>)

Declaration
public static Task CreateCollectionAsync(this ICouchbaseCollectionManager manager, string scopeName, string collectionName, CreateCollectionSettings settings, Action<CreateCollectionOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
string collectionName
CreateCollectionSettings settings
Action<CreateCollectionOptions> configureOptions
Returns
Type Description
Task
View Source

CreateScopeAsync(ICouchbaseCollectionManager, ScopeSpec)

Declaration
[Obsolete("Use other overloaded CreateScopeAsync method that does not take a ScopeSpec instead.")]
public static Task CreateScopeAsync(this ICouchbaseCollectionManager manager, ScopeSpec scopeSpec)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
ScopeSpec scopeSpec
Returns
Type Description
Task
View Source

CreateScopeAsync(ICouchbaseCollectionManager, ScopeSpec, Action<CreateScopeOptions>)

Declaration
[Obsolete("Use other overloaded CreateScopeAsync method that does not take a ScopeSpec instead.")]
public static Task CreateScopeAsync(this ICouchbaseCollectionManager manager, ScopeSpec scopeSpec, Action<CreateScopeOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
ScopeSpec scopeSpec
Action<CreateScopeOptions> configureOptions
Returns
Type Description
Task
View Source

CreateScopeAsync(ICouchbaseCollectionManager, string)

Declaration
public static Task CreateScopeAsync(this ICouchbaseCollectionManager manager, string scopeName)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Returns
Type Description
Task
View Source

CreateScopeAsync(ICouchbaseCollectionManager, string, Action<CreateScopeOptions>)

Declaration
public static Task CreateScopeAsync(this ICouchbaseCollectionManager manager, string scopeName, Action<CreateScopeOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Action<CreateScopeOptions> configureOptions
Returns
Type Description
Task
View Source

DropCollectionAsync(ICouchbaseCollectionManager, CollectionSpec)

Declaration
[Obsolete("Use the overload that uses scope and collection names instead.")]
public static Task DropCollectionAsync(this ICouchbaseCollectionManager manager, CollectionSpec spec)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
CollectionSpec spec
Returns
Type Description
Task
View Source

DropCollectionAsync(ICouchbaseCollectionManager, CollectionSpec, Action<DropCollectionOptions>)

Declaration
[Obsolete("Use the overload that uses scope and collection names instead.")]
public static Task DropCollectionAsync(this ICouchbaseCollectionManager manager, CollectionSpec spec, Action<DropCollectionOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
CollectionSpec spec
Action<DropCollectionOptions> configureOptions
Returns
Type Description
Task
View Source

DropCollectionAsync(ICouchbaseCollectionManager, string, string, Action<DropCollectionOptions>)

Declaration
public static Task DropCollectionAsync(this ICouchbaseCollectionManager manager, string scopeName, string collectionName, Action<DropCollectionOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
string collectionName
Action<DropCollectionOptions> configureOptions
Returns
Type Description
Task
View Source

DropScopeAsync(ICouchbaseCollectionManager, string)

Declaration
public static Task DropScopeAsync(this ICouchbaseCollectionManager manager, string scopeName)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Returns
Type Description
Task
View Source

DropScopeAsync(ICouchbaseCollectionManager, string, Action<DropScopeOptions>)

Declaration
public static Task DropScopeAsync(this ICouchbaseCollectionManager manager, string scopeName, Action<DropScopeOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Action<DropScopeOptions> configureOptions
Returns
Type Description
Task
View Source

GetAllScopesAsync(ICouchbaseCollectionManager)

Declaration
public static Task<IEnumerable<ScopeSpec>> GetAllScopesAsync(this ICouchbaseCollectionManager manager)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
Returns
Type Description
Task<IEnumerable<ScopeSpec>>
View Source

GetAllScopesAsync(ICouchbaseCollectionManager, Action<GetAllScopesOptions>)

Declaration
public static Task<IEnumerable<ScopeSpec>> GetAllScopesAsync(this ICouchbaseCollectionManager manager, Action<GetAllScopesOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
Action<GetAllScopesOptions> configureOptions
Returns
Type Description
Task<IEnumerable<ScopeSpec>>
View Source

GetScopeAsync(ICouchbaseCollectionManager, string)

Declaration
[Obsolete("Use GetAllScopesAsync instead.")]
public static Task<ScopeSpec> GetScopeAsync(this ICouchbaseCollectionManager manager, string scopeName)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Returns
Type Description
Task<ScopeSpec>
View Source

GetScopeAsync(ICouchbaseCollectionManager, string, Action<GetScopeOptions>)

Declaration
[Obsolete("Use GetAllScopesAsync instead.")]
public static Task<ScopeSpec> GetScopeAsync(this ICouchbaseCollectionManager manager, string scopeName, Action<GetScopeOptions> configureOptions)
Parameters
Type Name Description
ICouchbaseCollectionManager manager
string scopeName
Action<GetScopeOptions> configureOptions
Returns
Type Description
Task<ScopeSpec>
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.