public static Manufacturer GetManufacturerByName( string name, bool showAll, IEnumerable<int> countriesIds ) { using( var ctx = new RmsAuto.TechDoc.Entities.TecdocBase.TecdocBaseDataContext() ) { return ctx.GetManufacturerByName( name, showAll, countriesIds ); } }