// V2Generator: Section End :Constructor for insert #endregion #region Execute Create /// <summary> /// Creates a new ShippingInfo object based on the given record id from the database /// </summary> /// <param name="ID">No information available for ID</param> /// <returns>null or a new ShippingInfo object</returns> // V2Generator: Section Start : ExecuteCreate By ID public static ShippingInfo ExecuteCreate(int ID) { // V2Generator: Body Start ShippingInfo result = null; DataSet ds = ECommerce.SQL.Content.ShippingInfo.ShippingInfoGetByID(ID); DataTable dt = AddRelation(ds); if (dt.Rows.Count > 0) { result = Create(dt.Rows[0]); } return(result); // V2Generator: Body End }