public static void Initialize(this DbSetInfo dbSetInfo, Type serviceType) { var fbo = dbSetInfo.GetFieldByOrdinal(); var fbn = dbSetInfo.GetFieldByNames(); dbSetInfo.InitMethods(serviceType); }