Example #1
0
    public static USERINFO GetUSERINFOByUserNameType(string type, string userName)
    {
        USERINFO            uSERINFO            = new USERINFO();
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        uSERINFO = sqlUSERINFOProvider.GetUSERINFOByUserNameType(type, userName);
        return(uSERINFO);
    }
Example #2
0
    public static USERINFO GetUSERINFOByID(int id)
    {
        USERINFO            uSERINFO            = new USERINFO();
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        uSERINFO = sqlUSERINFOProvider.GetUSERINFOByID(id);
        return(uSERINFO);
    }
Example #3
0
    public static List <USERINFO> GetAllUSERINFOsByType(string type)
    {
        List <USERINFO>     uSERINFOs           = new List <USERINFO>();
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        uSERINFOs = sqlUSERINFOProvider.GetAllUSERINFOsByType(type);
        return(uSERINFOs);
    }
Example #4
0
    public static List <USERINFO> GetAllUSERINFOs()
    {
        List <USERINFO>     uSERINFOs           = new List <USERINFO>();
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        uSERINFOs = sqlUSERINFOProvider.GetAllUSERINFOs();
        return(uSERINFOs);
    }
Example #5
0
    public static bool DeleteUSERINFO(int uSERINFOID)
    {
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        return(sqlUSERINFOProvider.DeleteUSERINFO(uSERINFOID));
    }
Example #6
0
    public static bool UpdateUSERINFO(USERINFO uSERINFO)
    {
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        return(sqlUSERINFOProvider.UpdateUSERINFO(uSERINFO));
    }
Example #7
0
    public static int InsertUSERINFO(USERINFO uSERINFO)
    {
        SqlUSERINFOProvider sqlUSERINFOProvider = new SqlUSERINFOProvider();

        return(sqlUSERINFOProvider.InsertUSERINFO(uSERINFO));
    }