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