コード例 #1
0
 protected override DbSet <County> GetDbSet(StorageContext context)
 {
     return(context.Set <County>());
 }
コード例 #2
0
 protected override DbSet <IpV6Client> GetDbSet(StorageContext context)
 {
     return(context.Set <IpV6Client>());
 }
コード例 #3
0
 internal override Task <Continent> GetEntityAsync(StorageContext context, IContinent data, CancellationToken cancellationToken)
 {
     return(Task.Run(() => EntityFactory.CreateContinent(data)));
 }
コード例 #4
0
 internal override Continent GetEntity(StorageContext context, IContinent data)
 {
     return(EntityFactory.CreateContinent(data));
 }
コード例 #5
0
 internal override Task <Location> GetEntityAsync(StorageContext context, ILocation data, CancellationToken cancellationToken)
 {
     return(Task.Run(() => EntityFactory.CreateLocation(data), cancellationToken));
 }
コード例 #6
0
 internal override Location GetEntity(StorageContext context, ILocation data)
 {
     return(EntityFactory.CreateLocation(data));
 }
コード例 #7
0
 protected override DbSet <Location> GetDbSet(StorageContext context)
 {
     return(context.Set <Location>());
 }