public TDbEntity Create() { #if EF6 return(EntitiesSet.Create()); #else throw new NotImplementedException(); #endif }