partial void Updatestate(state instance);
 partial void Deletestate(state instance);
 partial void Insertstate(state instance);