partial void UpdateResource(Resource instance);
partial void DeleteResource(Resource instance);
partial void InsertResource(Resource instance);