Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlStoreConnection"/> class.
 /// </summary>
 /// <param name="kind">
 /// Type of store connection.
 /// </param>
 /// <param name="connectionInfo">
 /// The connection info.
 /// </param>
 protected internal SqlStoreConnection(StoreConnectionKind kind, SqlConnectionInfo connectionInfo)
 {
     this.Kind  = kind;
     this._conn = connectionInfo.CreateConnection();
 }
 /// <summary>
 /// Creates a new instance of user store connection.
 /// </summary>
 /// <param name="connectionInfo">Connection info.</param>
 internal SqlUserStoreConnection(SqlConnectionInfo connectionInfo)
 {
     _conn = connectionInfo.CreateConnection();
 }