Exemple #1
0
 /// <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);
 }
Exemple #2
0
 /// <summary>Use the SqlServerPublishedVersionStore as the IPublishedVersionStore.
 /// </summary>
 /// <returns></returns>
 public ENodeConfiguration UseSqlServerPublishedVersionStore(OptionSetting optionSetting = null)
 {
     _configuration.SetDefault <IPublishedVersionStore, SqlServerPublishedVersionStore>();
     return(this);
 }
Exemple #3
0
 /// <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);
 }
Exemple #4
0
 /// <summary>Use the SqlServerEventStore as the IEventStore.
 /// </summary>
 /// <returns></returns>
 public ENodeConfiguration UseSqlServerEventStore(OptionSetting optionSetting = null)
 {
     _configuration.SetDefault <IEventStore, SqlServerEventStore>();
     return(this);
 }