public SDBTreeModel(DataServiceBase dataService) { _dataService = dataService; _dataService.RelationAdded += OnRelationAdded; _dataService.RelationRemoved += OnRelationRemoved; _dataService.ItemChanged += OnItemChanged; }
public TcpDataServiceServer(DataServiceBase dataService, TcpServer server) : this(dataService) { if (server == null) server = new TcpServer(); RegisterTo(server); }
protected DataSessionBase(DataServiceBase dataService, string storageName, bool beginTransaction) : base(dataService.ResultHandlerFactory) { this.dataService = dataService; this.IsInTransaction = beginTransaction; if (!string.IsNullOrEmpty(storageName)) { this.DataStorage = dataService.GetDataStorage(storageName); } }
public AuthDataService(DataServiceBase dataService) { _dataService = dataService; _authenticators = new LinkedList<IAuthenticator>(); _dataService.ItemChanged += OnItemChanged; _dataService.RelationAdded += OnRelationAdded; _dataService.RelationRemoved += OnRelationRemoved; }
public MainForm() { InitializeComponent(); _dataService = new CacheDataService(new TcpDataService(new TcpClient("localhost"))); tree.Model = _model = new SDBTreeModel(_dataService); tree.SelectionChanged += tree_SelectionChanged; tree.Expanding += tree_Expanding; }
public ObjectMapper(DataServiceBase dataService, int?parentId = null) { DataService = dataService; _parentId = parentId; }
public SQLBaseProvider(DataServiceBase dataService) { DataService = dataService; }
public TcpDataServiceServer(DataServiceBase dataService) { _dataService = dataService; _authenticationProviders = new LinkedList <ITcpAuthenticationProvider>(); }
public AuthDataService(DataServiceBase dataService, IAuthenticator authenticator) : this(dataService) { Add(authenticator); }
public IndexModel(DataServiceBase dataService, ViewConfigurationService viewConfigurationService, ApplicationConfigurtion applicationUrlConfigurtion) : base(applicationUrlConfigurtion) { this.viewService = new GridService(dataService, viewConfigurationService); }
public DataSession(DataServiceBase dataService, string storageName, bool isInTransaction) : base(dataService, storageName, isInTransaction) { }
public IndexModel(DataServiceBase dataService, ViewConfigurationService viewConfigurationService, PropretyGridService propretyGridService, ApplicationConfigurtion applicationUrlConfigurtion) : base(applicationUrlConfigurtion) { this.dataService = dataService; this.viewService = propretyGridService; }
public TcpBasicAuthenticationProvider(DataServiceBase dataService, int? parentId = null) { _dataService = dataService; _parentId = parentId; _hostUsers = new Dictionary<TcpConnectedHost, DbItem>(); }
public TcpBasicAuthenticationProvider(DataServiceBase dataService, TcpServer server, int? parentId = null) : this(dataService, parentId) { RegisterHandlersTo(server); }
public TcpBasicAuthenticationProvider(DataServiceBase dataService, int?parentId = null) { _dataService = dataService; _parentId = parentId; _hostUsers = new Dictionary <TcpConnectedHost, DbItem>(); }
public TcpBasicAuthenticationProvider(DataServiceBase dataService, TcpServer server, int?parentId = null) : this(dataService, parentId) { RegisterHandlersTo(server); }
public TcpBasicClientAuthenticator(DataServiceBase dataService, TcpClient client) { _dataService = dataService; _client = client; }
public TcpDataServiceServer(DataServiceBase dataService) { _dataService = dataService; _authenticationProviders = new LinkedList<ITcpAuthenticationProvider>(); }
public NodeModel(DataServiceBase dataService, ViewConfigurationService viewConfigurationService, ApplicationConfigurtion applicationConfigurtion) : base(applicationConfigurtion) { this.dataService = dataService; this.viewService = new TreeListService(dataService, viewConfigurationService); }
public GetPropertyValueModel(DataServiceBase dataService, ApplicationConfigurtion applicationConfigurtion) : base(applicationConfigurtion) { this.dataService = dataService; }
static public void SetDataService(DataServiceBase DataService) { _instance.DataService = DataService; }