public static bool Update(AgentState entity)
 {
     throw new Exception("chua lam!...");
 }
 partial void UpdateAgentState(AgentState instance);
 partial void DeleteAgentState(AgentState instance);
 partial void InsertAgentState(AgentState instance);