Exemplo n.º 1
0
 public static ReferralSource GetReferralSourceByReferralSourceID(int ReferralSourceID)
 {
     ReferralSource referralSource = new ReferralSource();
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     referralSource = sqlReferralSourceProvider.GetReferralSourceByReferralSourceID(ReferralSourceID);
     return referralSource;
 }
Exemplo n.º 2
0
 public static DataSet GetDropDownListAllReferralSource()
 {
     DataSet referralSources = new DataSet();
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     referralSources = sqlReferralSourceProvider.GetDropDownLisAllReferralSource();
     return referralSources;
 }
Exemplo n.º 3
0
 public static ReferralSource GetHRMetroLocationByMetroLocationID(int MetroLocationID)
 {
     ReferralSource referralSource = new ReferralSource();
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     referralSource = sqlReferralSourceProvider.GetReferralSourceByMetroLocationID(MetroLocationID);
     return referralSource;
 }
Exemplo n.º 4
0
 public static DataSet GetAllReferralSourcesWithRelation()
 {
     DataSet referralSources = new DataSet();
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     referralSources = sqlReferralSourceProvider.GetAllReferralSources();
     return referralSources;
 }
Exemplo n.º 5
0
 public static DataSet GetDropDownLisAllReferralSourceByMetroLocationID(int MetroLocationID)
 {
     DataSet referralSources = new DataSet();
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     referralSources = sqlReferralSourceProvider.GetDropDownLisAllReferralSourceByMetroLocationID(MetroLocationID);
     return referralSources;
 }
Exemplo n.º 6
0
    public static ReferralSource GetReferralSourceByReferralSourceID(int ReferralSourceID)
    {
        ReferralSource            referralSource            = new ReferralSource();
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        referralSource = sqlReferralSourceProvider.GetReferralSourceByReferralSourceID(ReferralSourceID);
        return(referralSource);
    }
Exemplo n.º 7
0
    public static DataSet   GetAllReferralSourcesWithRelation()
    {
        DataSet referralSources = new DataSet();
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        referralSources = sqlReferralSourceProvider.GetAllReferralSources();
        return(referralSources);
    }
Exemplo n.º 8
0
    public static ReferralSource GetHRMetroLocationByMetroLocationID(int MetroLocationID)
    {
        ReferralSource            referralSource            = new ReferralSource();
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        referralSource = sqlReferralSourceProvider.GetReferralSourceByMetroLocationID(MetroLocationID);
        return(referralSource);
    }
Exemplo n.º 9
0
    public static DataSet GetDropDownLisAllReferralSourceByMetroLocationID(int MetroLocationID)
    {
        DataSet referralSources = new DataSet();
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        referralSources = sqlReferralSourceProvider.GetDropDownLisAllReferralSourceByMetroLocationID(MetroLocationID);
        return(referralSources);
    }
Exemplo n.º 10
0
    public static DataSet  GetDropDownListAllReferralSource()
    {
        DataSet referralSources = new DataSet();
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        referralSources = sqlReferralSourceProvider.GetDropDownLisAllReferralSource();
        return(referralSources);
    }
Exemplo n.º 11
0
 public static void LoadReferralSourcePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     DataSet ds =  sqlReferralSourceProvider.GetReferralSourcePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      referralSourcesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Exemplo n.º 12
0
    public static void LoadReferralSourcePage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
    {
        int recordCount = 0;
        int PageSize    = int.Parse(ddlPageSize.SelectedValue);
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
        DataSet ds = sqlReferralSourceProvider.GetReferralSourcePageWise(pageIndex, PageSize, out recordCount);

        gv.DataSource = ds;
        gv.DataBind();
        referralSourcesPaggination(rptPager, recordCount, pageIndex, PageSize);
    }
Exemplo n.º 13
0
 public static bool DeleteReferralSource(int referralSourceID)
 {
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     return sqlReferralSourceProvider.DeleteReferralSource(referralSourceID);
 }
Exemplo n.º 14
0
    public static bool DeleteReferralSource(int referralSourceID)
    {
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        return(sqlReferralSourceProvider.DeleteReferralSource(referralSourceID));
    }
Exemplo n.º 15
0
    public static int InsertReferralSource(ReferralSource referralSource)
    {
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        return(sqlReferralSourceProvider.InsertReferralSource(referralSource));
    }
Exemplo n.º 16
0
 public static int InsertReferralSource(ReferralSource referralSource)
 {
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     return sqlReferralSourceProvider.InsertReferralSource(referralSource);
 }
Exemplo n.º 17
0
 public static bool UpdateReferralSource(ReferralSource referralSource)
 {
     SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();
     return sqlReferralSourceProvider.UpdateReferralSource(referralSource);
 }
Exemplo n.º 18
0
    public static bool UpdateReferralSource(ReferralSource referralSource)
    {
        SqlReferralSourceProvider sqlReferralSourceProvider = new SqlReferralSourceProvider();

        return(sqlReferralSourceProvider.UpdateReferralSource(referralSource));
    }