C# Class YesSql.Storage.Sql.SqlDocumentStorageFactory

Inheritance: IDocumentStorageFactory
Show file Open project: sebastienros/yessql Class Usage Examples

Public Methods

Method Description
CreateDocumentStorage ( ISession session, Configuration configuration ) : IDocumentStorage
InitializeAsync ( Configuration configuration ) : System.Threading.Tasks.Task

Creates the necessary tables

InitializeCollectionAsync ( Configuration configuration, string collection ) : System.Threading.Tasks.Task

Creates the necessary tables

Method Details

CreateDocumentStorage() public method

public CreateDocumentStorage ( ISession session, Configuration configuration ) : IDocumentStorage
session ISession
configuration Configuration
return IDocumentStorage

InitializeAsync() public method

Creates the necessary tables
public InitializeAsync ( Configuration configuration ) : System.Threading.Tasks.Task
configuration Configuration
return System.Threading.Tasks.Task

InitializeCollectionAsync() public method

Creates the necessary tables
public InitializeCollectionAsync ( Configuration configuration, string collection ) : System.Threading.Tasks.Task
configuration Configuration
collection string
return System.Threading.Tasks.Task