CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ SqlEventStoreDataContext() [1/2]

Cqrs.Events.SqlEventStoreDataContext.SqlEventStoreDataContext ( string  fileOrServerOrConnection)

Instantiates a new instance of the SqlEventStoreDataContext class by referencing a file source.

Parameters
fileOrServerOrConnectionThis argument can be any one of the following: The name of a file where a SQL Server Express database resides. The name of a server where a database is present. In this case the provider uses the default database for a user. A complete connection string. LINQ to SQL just passes the string to the provider without modification.