private static DataListNuggetState PopulateFromDBDetailsObject(DataListNuggetStateDetails obj) { DataListNuggetState objNew = new DataListNuggetState(); objNew.DataListNuggetStateID = obj.DataListNuggetStateID; objNew.DataListNuggetNo = obj.DataListNuggetNo; objNew.LoginNo = obj.LoginNo; objNew.SubType = obj.SubType; objNew.StateText = obj.StateText; objNew.DLUP = obj.DLUP; return(objNew); }
/// <summary> /// GetForDLNAndLogin /// Calls [usp_select_DataListNuggetState_for_DLN_and_Login] /// </summary> public static DataListNuggetState GetForDLNAndLogin(System.Int32?dataListNuggetNo, System.String subType, System.Int32?loginNo) { Rebound.GlobalTrader.DAL.DataListNuggetStateDetails objDetails = Rebound.GlobalTrader.DAL.SiteProvider.DataListNuggetState.GetForDLNAndLogin(dataListNuggetNo, subType, loginNo); if (objDetails == null) { return(null); } else { DataListNuggetState obj = new DataListNuggetState(); obj.DataListNuggetStateID = objDetails.DataListNuggetStateID; obj.DataListNuggetNo = objDetails.DataListNuggetNo; obj.LoginNo = objDetails.LoginNo; obj.SubType = objDetails.SubType; obj.StateText = objDetails.StateText; obj.DLUP = objDetails.DLUP; objDetails = null; return(obj); } }