protected override DbSet <County> GetDbSet(StorageContext context) { return(context.Set <County>()); }
protected override DbSet <IpV6Client> GetDbSet(StorageContext context) { return(context.Set <IpV6Client>()); }
internal override Task <Continent> GetEntityAsync(StorageContext context, IContinent data, CancellationToken cancellationToken) { return(Task.Run(() => EntityFactory.CreateContinent(data))); }
internal override Continent GetEntity(StorageContext context, IContinent data) { return(EntityFactory.CreateContinent(data)); }
internal override Task <Location> GetEntityAsync(StorageContext context, ILocation data, CancellationToken cancellationToken) { return(Task.Run(() => EntityFactory.CreateLocation(data), cancellationToken)); }
internal override Location GetEntity(StorageContext context, ILocation data) { return(EntityFactory.CreateLocation(data)); }
protected override DbSet <Location> GetDbSet(StorageContext context) { return(context.Set <Location>()); }