public override DataSet Clone() { StoreDS cln = ((StoreDS)(base.Clone())); cln.InitVars(); return(cln); }
public DataSet ToDataSet() { //Return a dataset containing values for this object StoreDS ds = null; try { ds = new StoreDS(); StoreDS.StoreDetailTableRow store = ds.StoreDetailTable.NewStoreDetailTableRow(); store.CLIENT_NUMBER = this._client_number; store.CLIENT_DIVISION = this._client_division; store.NUMBER = this._number; store.NAME = this._name; store.ADDRESS_LINE1 = this._address_line1; store.ADDRESS_LINE2 = this._address_line2; store.CITY = this._city; store.STATE = this._state; store.ZIP = this._zip; store.ZIP4 = this._zip4; store.ZONE = this._zone; store.ZONE_TYPE = this._zone_type; store.STATUS = this._status; store.OPEN_DATE = this._open_date; store.ROUTE = this._route; store.LBL_USER_DATA = this._lbl_user_data; store.SAN_NUMBER = this._san_number; store.PHONE = this._phone; store.INSTRUCTIONS = this._instructions; store.LABELTYPE = this._labeltype; store.ALT_NUMBER = this._alt_number; store.ALTROUTE = this._altroute; store.LOCAL_LANE = this._local_lane; ds.StoreDetailTable.AddStoreDetailTableRow(store); } catch (Exception) { } return(ds); }