예제 #1
0
        public override DataSet Clone()
        {
            SecurityRightData data = (SecurityRightData)base.Clone();

            data.InitVars();
            return(data);
        }
 /// <summary>
 /// Retrieves role & securityrights (access) details from the database
 /// </summary>
 public SecurityRightData GetSecurityRightList()
 {
     SecurityRightData dataSet = new SecurityRightData();
     
     DbConnection.db.LoadDataSet("vts_spSecurityRightGetList", dataSet, new string[] { "SecurityRights" });
     return dataSet;
 }
 public SecurityRightRowChangeEvent(SecurityRightData.SecurityRightRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemoveSecurityRightRow(SecurityRightData.SecurityRightRow row)
 {
     base.Rows.Remove(row);
 }
 public void AddSecurityRightRow(SecurityRightData.SecurityRightRow row)
 {
     base.Rows.Add(row);
 }