public StatesRow AddStatesRow(string Id, string Name)
            {
                StatesRow rowStatesRow = ((StatesRow)(this.NewRow()));

                rowStatesRow.ItemArray = new object[] {
                    Id,
                    Name
                };
                this.Rows.Add(rowStatesRow);
                return(rowStatesRow);
            }
 public StatesRowChangeEvent(StatesRow row, System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemoveStatesRow(StatesRow row) {
     this.Rows.Remove(row);
 }
 public void AddStatesRow(StatesRow row) {
     this.Rows.Add(row);
 }
 public void RemoveStatesRow(StatesRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddStatesRow(StatesRow row)
 {
     this.Rows.Add(row);
 }
 public StatesRowChangeEvent(StatesRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public State StatesRowToState(StatesRow row)
 {
     State state = new State(row.Id, row.Name);
     return state;
 }
Exemple #9
0
        public State StatesRowToState(StatesRow row)
        {
            State state = new State(row.Id, row.Name);

            return(state);
        }