Пример #1
0
 public SeriesRepository(JJMediaDbManager connectionInfo)
     : base(connectionInfo)
 {
 }
Пример #2
0
 public EpisodeRepository(JJMediaDbManager connectionInfo)
     : base(connectionInfo)
 {
 }
Пример #3
0
 public EntityRepository(JJMediaDbManager connectionInfo)
 {
     _sqlConn = connectionInfo.ConnString;
     // is there a cleaner way to attach a datatable name to an entity?
     _tableName = ((RepositoryAttribute)typeof(TEntity).GetCustomAttributes(typeof(RepositoryAttribute), false).First()).TableName;
 }