public static void Save(WARENAVI_SYSTEMEntity obj) { if (obj != null) { obj.Save(); } }
/// <summary>根据主键获取一个实体</summary> public static WARENAVI_SYSTEMEntity RetrieveAWARENAVI_SYSTEMEntity(System.Decimal SYSTEM_NO) { WARENAVI_SYSTEMEntity obj = new WARENAVI_SYSTEMEntity(); obj.SYSTEM_NO = SYSTEM_NO; obj.Retrieve(); if (obj.IsPersistent) { return(obj); } else { return(null); } }