/// <summary> /// Retrieves a collection of <see cref="!:TrainProdXrefModel" /> instances. /// </summary> /// <param name="productId"> /// The value which identifies the <see cref="!:TrainProdXrefModel" /> instances to be returned. /// </param> /// <returns> /// The <see cref="!:TrainProdXrefModel" /> instances that match the specified <paramref name="productId" />. /// </returns> public static IEnumerable <Consensus.Contact.TrainProdXref> FetchAllByProductId(System.String productId) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(TrainProdXref.FetchAllByProductId(site, productId)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(TrainProdXref.GetTableName(site)); }
/// <summary> /// Retrieves all instances of the <see cref="!:TrainProdXrefModel" /> class. /// </summary> /// <returns> /// An enumerable collection of <see cref="!:TrainProdXrefModel" /> instances. /// </returns> public static IEnumerable <Consensus.Contact.TrainProdXref> FetchAll() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(TrainProdXref.FetchAll(site)); }
/// <summary> /// Retrieves a specific <see cref="!:TrainProdXrefModel" /> instance. /// </summary> /// <param name="id"> /// The unique value which distinctly identifies the <see cref="!:TrainProdXrefModel" /> instance to be returned. /// </param> /// <returns> /// The <see cref="!:TrainProdXrefModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found. /// </returns> public static Consensus.Contact.TrainProdXref FetchById(System.String id) { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(TrainProdXref.FetchById(site, id)); }
/// <summary> /// Creates a new <see cref="!:TrainProdXrefModel" /> instance. /// </summary> /// <returns> /// A newly instantiated <see cref="!:TrainProdXrefModel" /> instance. /// </returns> public static Consensus.Contact.TrainProdXref Create() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(TrainProdXref.Create(site)); }