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