public static DiscardSlip GetBy(int ID) { string sql = "select * from DiscardSlip where ID = " + ID; DataTable dt = Common.SQLHelper.ExecuteQueryToDataTable(Common.SQLHelper.Asset_strConn, sql); DiscardSlip DiscardSlip = Common.ConvertHelper.DataTableToList <DiscardSlip>(dt).First(); return(DiscardSlip); }
public void CopyTo(DiscardSlip A, bool IsCopyNullValue) { Common.ConvertHelper.Mapper(this, ref A, IsCopyNullValue); }