Exemplo n.º 1
0
    public static FOODITEM_TRANSDETAIL GetFOODITEM_TRANSDETAILByID(int id)
    {
        FOODITEM_TRANSDETAIL            fOODITEM_TRANSDETAIL            = new FOODITEM_TRANSDETAIL();
        SqlFOODITEM_TRANSDETAILProvider sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        fOODITEM_TRANSDETAIL = sqlFOODITEM_TRANSDETAILProvider.GetFOODITEM_TRANSDETAILByID(id);
        return(fOODITEM_TRANSDETAIL);
    }
Exemplo n.º 2
0
    public static List <FOODITEM_TRANSMASTERDETAIL> GetAllFOODITEM_TRANSDETAILByFoodTransID(int foodTransID)
    {
        List <FOODITEM_TRANSMASTERDETAIL> fOODITEM_TRANSDETAILs           = new List <FOODITEM_TRANSMASTERDETAIL>();
        SqlFOODITEM_TRANSDETAILProvider   sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        fOODITEM_TRANSDETAILs = sqlFOODITEM_TRANSDETAILProvider.GetAllFOODITEM_TRANSDETAILByFoodTransID(foodTransID);
        return(fOODITEM_TRANSDETAILs);
    }
Exemplo n.º 3
0
    public static List <FOODITEM_TRANSDETAIL> GetAllFOODITEM_TRANSDETAILs()
    {
        List <FOODITEM_TRANSDETAIL>     fOODITEM_TRANSDETAILs           = new List <FOODITEM_TRANSDETAIL>();
        SqlFOODITEM_TRANSDETAILProvider sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        fOODITEM_TRANSDETAILs = sqlFOODITEM_TRANSDETAILProvider.GetAllFOODITEM_TRANSDETAILs();
        return(fOODITEM_TRANSDETAILs);
    }
Exemplo n.º 4
0
    public static bool DeleteFOODITEM_TRANSDETAILByTID(int tID)
    {
        SqlFOODITEM_TRANSDETAILProvider sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        return(sqlFOODITEM_TRANSDETAILProvider.DeleteFOODITEM_TRANSDETAILByTID(tID));
    }
Exemplo n.º 5
0
    public static bool UpdateFOODITEM_TRANSDETAIL(FOODITEM_TRANSDETAIL fOODITEM_TRANSDETAIL)
    {
        SqlFOODITEM_TRANSDETAILProvider sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        return(sqlFOODITEM_TRANSDETAILProvider.UpdateFOODITEM_TRANSDETAIL(fOODITEM_TRANSDETAIL));
    }
Exemplo n.º 6
0
    public static int InsertFOODITEM_TRANSDETAIL(FOODITEM_TRANSDETAIL fOODITEM_TRANSDETAIL)
    {
        SqlFOODITEM_TRANSDETAILProvider sqlFOODITEM_TRANSDETAILProvider = new SqlFOODITEM_TRANSDETAILProvider();

        return(sqlFOODITEM_TRANSDETAILProvider.InsertFOODITEM_TRANSDETAIL(fOODITEM_TRANSDETAIL));
    }