Did I see a discussion somewhere here or in github (I have searched both) with regard to entities belonging to multiple OrganizationUnits? If so, could someone point me to it? Given the interfaces IMayHaveOrganizationUnit/IMustHaveOrganizationUnit how does one go about implementing such a pattern? Are there any guidelines anywhere?
7 Answer(s)
-
0
I don't think you can do it with the out of box AspNet Boilerplate because the IMayHaveOrganizationUnit has
long? OrganizationUnitId
.
you have to create many-to-many relationship and change filtering.
-
0
@alper, yeah, I kind of thought that would be the case. I will think on it for a while. Nice entry in the wiki for AbpSession by the way. keep it up. Volosoft should really implement a Medium account for us to submit things like this to.
-
0
there's a Medium account by the way <a class="postlink" href="https://medium.com/volosoft">https://medium.com/volosoft</a>
-
0
@alper, nice, thanks. Why don't you guys invite your user base to write articles under a guest account that you could create for £5 per month? That way we could submit articles of interest for the Zero user base and share code and you guys could edit and manage publishing. For example I am about to cut into code for audit logs, system logs and entity history and override standard services replacing them with new services which will persist entries to Mongodb using an Azure Cosmodb wrapper service. I would gladly share my work especially if I knew my article would be reviewed by you guys, the experts. This would have the added advantage of you reviewing my code and suggesting changes where appropriate. I am not a great programmer and sometime find Zero frustrating to work with simply because it is an advanced body of work using concepts and patterns which are way beyond my limited capabilities. Just a thought, let me know if I can help.
-
0
@BobIngham we will add such articles to our documentation which is alraedy open to public <a class="postlink" href="https://github.com/aspnetzero/documents">https://github.com/aspnetzero/documents</a>.
-
0
@ismcagdas, understood, I will fork and send you a request as and when. Thanks.
-
0
@BobIngham Thanks :)