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