public void TrackChange() { TypeDescription typeDiscription = TypeDescriptionCache.GetTypeDiscription(base.GetType()); if (typeDiscription.ExecuteFunc == null) { throw GetNonStandardExecption(base.GetType()); } this.bakObject = typeDiscription.ExecuteFunc(13, new object[] { this }) as BaseEntity; }
internal CPQuery GetCPQuery(int flag, params object[] parameters) { CPQuery query; TypeDescription typeDiscription = TypeDescriptionCache.GetTypeDiscription(base.GetType()); if (typeDiscription.ExecuteFunc == null) { throw GetNonStandardExecption(base.GetType()); } try { query = typeDiscription.ExecuteFunc(flag, parameters) as CPQuery; } catch (Exception exception) { throw exception; } return(query); }