internal FluentEngineSubContext(ApiItemModel <TItem> itemModel)
        {
            Identifiers = new FluentIdentifierProvider <TItem>(itemModel.Identifiers);
            Fields      = new FluentFieldProvider <TItem>(itemModel.Fields);

            AuthorizationChecker = new AllowAllAuthorizationChecker <TItem>(); // TODO
        }
Example #2
0
 public CodedArtistEntityContext(IRestUser user)
 {
     Transaction          = new VoidTransaction();
     Repository           = new ArtistMemoryRepository();
     AuthorizationChecker = new AllowAllAuthorizationChecker <Artist>();
 }