public TrackerProvider(string connectionName) { _connectionName = connectionName; _dataSourceProvider = DataSourceProviderFactory.Create(_connectionName); RegisterEvents(); }
private ICollection <T> Load() { _isLoad = true; return(DataSourceProviderFactory .CreateByDefaultDataProvider(_connString).GetByFields <T>(new EntityStruct(_param.GetType(), _param))); }