예제 #1
0
    public static Comn_OfficeType GetComn_OfficeTypeByID(int id)
    {
        Comn_OfficeType            comn_OfficeType            = new Comn_OfficeType();
        SqlComn_OfficeTypeProvider sqlComn_OfficeTypeProvider = new SqlComn_OfficeTypeProvider();

        comn_OfficeType = sqlComn_OfficeTypeProvider.GetComn_OfficeTypeByID(id);
        return(comn_OfficeType);
    }
예제 #2
0
    public static List <Comn_OfficeType> GetAllComn_OfficeTypes()
    {
        List <Comn_OfficeType>     comn_OfficeTypes           = new List <Comn_OfficeType>();
        SqlComn_OfficeTypeProvider sqlComn_OfficeTypeProvider = new SqlComn_OfficeTypeProvider();

        comn_OfficeTypes = sqlComn_OfficeTypeProvider.GetAllComn_OfficeTypes();
        return(comn_OfficeTypes);
    }
예제 #3
0
    public static bool DeleteComn_OfficeType(int comn_OfficeTypeID)
    {
        SqlComn_OfficeTypeProvider sqlComn_OfficeTypeProvider = new SqlComn_OfficeTypeProvider();

        return(sqlComn_OfficeTypeProvider.DeleteComn_OfficeType(comn_OfficeTypeID));
    }
예제 #4
0
    public static bool UpdateComn_OfficeType(Comn_OfficeType comn_OfficeType)
    {
        SqlComn_OfficeTypeProvider sqlComn_OfficeTypeProvider = new SqlComn_OfficeTypeProvider();

        return(sqlComn_OfficeTypeProvider.UpdateComn_OfficeType(comn_OfficeType));
    }
예제 #5
0
    public static int InsertComn_OfficeType(Comn_OfficeType comn_OfficeType)
    {
        SqlComn_OfficeTypeProvider sqlComn_OfficeTypeProvider = new SqlComn_OfficeTypeProvider();

        return(sqlComn_OfficeTypeProvider.InsertComn_OfficeType(comn_OfficeType));
    }