C# 클래스 Spontaneouse.DAL.Mongo10Gen.Utilities.UserMealProfileUtilities

파일 보기 프로젝트 열기: pashkov/Spontaneous 1 사용 예제들

공개 메소드들

메소드 설명
AddUserMealProfileToDB ( UserMealProfile userMealProfile ) : string
DeleteUserMealProfile ( string id ) : void
GetAllUserMealProfiles ( ) : List
GetLastUserMealProfileByUserId ( string id ) : UserMealProfile
GetMealById ( System.Guid mealId ) : Meal
GetUserMealProfileById ( string id ) : UserMealProfile
GetUserMealProfilesByDateRange ( System.DateTime startDate, System.DateTime endDate ) : List
RemoveUserMealProfile ( string id ) : void
UpdateUserMealProfile ( UserMealProfile userMealProfile ) : void

메소드 상세

AddUserMealProfileToDB() 공개 정적인 메소드

public static AddUserMealProfileToDB ( UserMealProfile userMealProfile ) : string
userMealProfile Spontaneous.DataModel.UserMealProfile
리턴 string

DeleteUserMealProfile() 공개 정적인 메소드

public static DeleteUserMealProfile ( string id ) : void
id string
리턴 void

GetAllUserMealProfiles() 공개 정적인 메소드

public static GetAllUserMealProfiles ( ) : List
리턴 List

GetLastUserMealProfileByUserId() 공개 정적인 메소드

public static GetLastUserMealProfileByUserId ( string id ) : UserMealProfile
id string
리턴 Spontaneous.DataModel.UserMealProfile

GetMealById() 공개 정적인 메소드

public static GetMealById ( System.Guid mealId ) : Meal
mealId System.Guid
리턴 Spontaneous.DataModel.Meal

GetUserMealProfileById() 공개 정적인 메소드

public static GetUserMealProfileById ( string id ) : UserMealProfile
id string
리턴 Spontaneous.DataModel.UserMealProfile

GetUserMealProfilesByDateRange() 공개 정적인 메소드

public static GetUserMealProfilesByDateRange ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime
endDate System.DateTime
리턴 List

RemoveUserMealProfile() 공개 정적인 메소드

public static RemoveUserMealProfile ( string id ) : void
id string
리턴 void

UpdateUserMealProfile() 공개 정적인 메소드

public static UpdateUserMealProfile ( UserMealProfile userMealProfile ) : void
userMealProfile Spontaneous.DataModel.UserMealProfile
리턴 void