Esempio n. 1
0
 public static IEnumerable <QcStandardBorrow> GetStandardBorrowByStandard(QcStandard standard)
 {
     return(DbHelper.Query("select * from QC_PRO_STANDARDBORROW where 标准ID='" + standard.Code + "'").Select(t => new QcStandardBorrow(t)));
 }
Esempio n. 2
0
 public static QcStandard GetStandardByID(string id)
 {
     return(QcStandard.GetStandards(string.Format("标准ID='{0}'", id)).First());
 }