/// <summary> /// Gets the datasource depot of the specified data store. /// </summary> /// <param name="dataStore">The data store to consider.</param> /// <returns>Returns the datasource depot of the specified data store.</returns> public static IBdoDatasourceDepot GetDatasourceDepot(this IBdoDataStore dataStore) { return(dataStore?.Get <IBdoDatasourceDepot>()); }
/// <summary> /// Gets the database queries depot of the specified data store. /// </summary> /// <param name="dataStore">The data store to consider.</param> /// <returns>Returns the database model depot of the specified data store.</returns> public static IBdoDbModelDepot GetDbModelDepot(this IBdoDataStore dataStore) { return(dataStore?.Get <IBdoDbModelDepot>()); }