/// <summary> /// Returns a <see cref="ProfileList"/> object of the specified criteria. /// </summary> /// <param name="uniqueID">No additional detail available.</param> /// <returns>A <see cref="ProfileList"/> object of the specified criteria.</returns> public static ProfileList GetByUniqueID(System.Int32 uniqueID) { var criteria = new ProfileCriteria { UniqueID = uniqueID }; return(DataPortal.Fetch <ProfileList>(criteria)); }
public static async Task <ProfileList> GetByUsernameApplicationNameAsync(System.String username, System.String applicationName) { var criteria = new ProfileCriteria { Username = username, ApplicationName = applicationName }; return(await DataPortal.FetchAsync <ProfileList>(criteria)); }
public static async Task <ProfileList> GetByUniqueIDAsync(System.Int32 uniqueID) { var criteria = new ProfileCriteria { UniqueID = uniqueID }; return(await DataPortal.FetchAsync <ProfileList>(criteria)); }
/// <summary> /// Determines if a record exists in the Profiles table in the database for the specified criteria. /// </summary> public static async Task <bool> ExistsAsync(ProfileCriteria criteria) { return(await PetShop.Tests.ObjF.ParameterizedSQL.ExistsCommand.ExecuteAsync(criteria)); }
/// <summary> /// Determines if a record exists in the Profiles table in the database for the specified criteria. /// </summary> /// <param name="criteria">The criteria parameter is an <see cref="Profile"/> object.</param> /// <returns>A boolean value of true is returned if a record is found.</returns> public static bool Exists(ProfileCriteria criteria) { return(PetShop.Tests.ObjF.ParameterizedSQL.ExistsCommand.Execute(criteria)); }
/// <summary> /// CodeSmith generated stub method that is called when fetching the child <see cref="Profile"/> object. /// </summary> /// <param name="criteria"><see cref="ProfileCriteria"/> object containing the criteria of the object to fetch.</param> /// <param name="cancel">Value returned from the method indicating whether the object fetching should proceed.</param> partial void OnChildFetching(ProfileCriteria criteria, ref bool cancel);
/// <summary> /// CodeSmith generated stub method that is called when deleting the <see cref="Profile"/> object. /// </summary> /// <param name="criteria"><see cref="ProfileCriteria"/> object containing the criteria of the object to delete.</param> /// <param name="cancel">Value returned from the method indicating whether the object deletion should proceed.</param> partial void OnDeleting(ProfileCriteria criteria, ref bool cancel);
public static ProfileList GetByCriteria(ProfileCriteria criteria) { return(DataPortal.Fetch <ProfileList>(criteria)); }
/// <summary> /// Determines if a record exists in the Profile in the database for the specified criteria. /// </summary> /// <param name="criteria">The criteria parameter is a <see cref="ProfileList"/> object.</param> /// <returns>A boolean value of true is returned if a record is found.</returns> public static bool Exists(ProfileCriteria criteria) { return(PetShop.Tests.ObjF.ParameterizedSQL.Profile.Exists(criteria)); }
public static async Task <ProfileList> GetByCriteriaAsync(ProfileCriteria criteria) { return(await DataPortal.FetchAsync <ProfileList>(criteria)); }