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