コード例 #1
0
ファイル: Configuration.cs プロジェクト: kfhuangy/enode
 /// <summary>Initialize the SqlServerLockService with option setting.
 /// </summary>
 /// <param name="optionSetting"></param>
 /// <returns></returns>
 public ENodeConfiguration InitializeSqlServerLockService(OptionSetting optionSetting = null)
 {
     ((SqlServerLockService)ObjectContainer.Resolve <ILockService>()).Initialize(optionSetting);
     return(this);
 }
コード例 #2
0
ファイル: Configuration.cs プロジェクト: kfhuangy/enode
 /// <summary>Use the SqlServerPublishedVersionStore as the IPublishedVersionStore.
 /// </summary>
 /// <returns></returns>
 public ENodeConfiguration UseSqlServerPublishedVersionStore(OptionSetting optionSetting = null)
 {
     _configuration.SetDefault <IPublishedVersionStore, SqlServerPublishedVersionStore>();
     return(this);
 }
コード例 #3
0
ファイル: Configuration.cs プロジェクト: kfhuangy/enode
 /// <summary>Initialize the SqlServerPublishedVersionStore with option setting.
 /// </summary>
 /// <param name="optionSetting"></param>
 /// <returns></returns>
 public ENodeConfiguration InitializeSqlServerPublishedVersionStore(OptionSetting optionSetting = null)
 {
     ((SqlServerPublishedVersionStore)ObjectContainer.Resolve <IPublishedVersionStore>()).Initialize(optionSetting);
     return(this);
 }
コード例 #4
0
ファイル: Configuration.cs プロジェクト: kfhuangy/enode
 /// <summary>Use the SqlServerEventStore as the IEventStore.
 /// </summary>
 /// <returns></returns>
 public ENodeConfiguration UseSqlServerEventStore(OptionSetting optionSetting = null)
 {
     _configuration.SetDefault <IEventStore, SqlServerEventStore>();
     return(this);
 }