我有以下要求:
- users should not be able to insert or delete from Orders entities
- users are able to update or replace Orders entities
哪一部法典更适合:
config.SetEntitySetAccessRule ("Orders", EntitySetRights.WriteMerge |
EntitySetRights.WriteReplace);
或
config.SetEntitySetAccessRule ("Orders", EntitySetRights.AllWrite);
And what is the difference between: EntitySetRights.AllWrite EntitySetRights.All ????