Example #1
0
        public atriumDB.ApptRecurrenceDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            atriumDB.ApptRecurrenceDataTable dt = new atriumDB.ApptRecurrenceDataTable();
            Fill(dt);
            return(dt);
        }
Example #2
0
 internal ApptRecurrenceBE(FileManager pBEMng)
     : base(pBEMng, pBEMng.DB.ApptRecurrence)
 {
     myA = pBEMng;
     myApptRecurrenceDT = (atriumDB.ApptRecurrenceDataTable)myDT;
     if (!myA.AtMng.AppMan.UseService && myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetApptRecurrence();
     }
 }
Example #3
0
        public atriumDB.ApptRecurrenceDataTable LoadByFileId(int FileId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ApptRecurrenceSelectByFileId]";
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@FileId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@FileId"].Value = FileId;

            atriumDB.ApptRecurrenceDataTable dt = new atriumDB.ApptRecurrenceDataTable();
            Fill(dt);
            return(dt);
        }