public BaseService() { _DataConnectionManager = Host.Container.Resolve <IDataConnectionManager>(); _DTService = new CommonService(_DataConnectionManager); _CurrentTime = DateTime.Now; _DTService.Initialize(null, _CurrentTime, Global.Cache); }
public BasePage() : base() { _DataConnectionManager = Host.Container.Resolve <IDataConnectionManager>(); _DTService = new CommonService(_DataConnectionManager); _ViewStateEx = new StateBagWrapper(ViewState); _JS = new JS(this); _CK = new CK(this); switch (Host.Settings.Get <string>("AuthMode", "forms")) { default: _Auth = new FormsAuth(this); break; } }
public CommonService(IDataConnectionManager manager) : base(manager) { }