예제 #1
0
    public static EMPLOYEE GetEMPLOYEEByID(int id)
    {
        EMPLOYEE            eMPLOYEE            = new EMPLOYEE();
        SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider();

        eMPLOYEE = sqlEMPLOYEEProvider.GetEMPLOYEEByID(id);
        return(eMPLOYEE);
    }
예제 #2
0
    public static List <EMPLOYEE> GetAllEMPLOYEEs()
    {
        List <EMPLOYEE>     eMPLOYEEs           = new List <EMPLOYEE>();
        SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider();

        eMPLOYEEs = sqlEMPLOYEEProvider.GetAllEMPLOYEEs();
        return(eMPLOYEEs);
    }
예제 #3
0
    public static bool DeleteEMPLOYEE(int eMPLOYEEID)
    {
        SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider();

        return(sqlEMPLOYEEProvider.DeleteEMPLOYEE(eMPLOYEEID));
    }
예제 #4
0
    public static bool UpdateEMPLOYEE(EMPLOYEE eMPLOYEE)
    {
        SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider();

        return(sqlEMPLOYEEProvider.UpdateEMPLOYEE(eMPLOYEE));
    }
예제 #5
0
    public static int InsertEMPLOYEE(EMPLOYEE eMPLOYEE)
    {
        SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider();

        return(sqlEMPLOYEEProvider.InsertEMPLOYEE(eMPLOYEE));
    }