Hi Ismail,
For first option, you mean I bring Locations and the rest of reference data while SetTenantId is Null. Then, use Linq to SQL to bring in all events without any left outer joins. Then, loop over data and bring in location name, etc.?
For second option, I know I've used IMayHaveTenant on all data that is part of host (I made that just in case). So, when I disable this filter, I can then for each join specify that TenantId is null?
Did I understand your point correctly?
IMayHaveTenant: What does this filter add to the query anyway? For me i noticed that if an entity has IMayHaveTenant, and then if a query is executing inside a Tenant (!= Null), then a WHERE is added to that entity trying to filter based on TenantID since it was marked IMayHaveTenant. Correct?
What if I remove IMayHaveTenant? What happens.
Thanks
That's why I am thinking, if I develop my own modules without touching any single file from Framework, wouldn't be easy for me to just replace files of framework and compile?
In another post, I asked how to create a new module. So my point is to know, can I in a separate module (can be done as solution folder with projects underneath), be able to add my own permissions? my own settings?
Currently, I have to go to Authorization folder in .Core and edit the AuthorizationProvider.
If I can configure my modules without touching the any file that comes with framework, then it might be easier to upgrade.
So all my code will be under a solution folder and underneath I have .Core, .Application, etc.
Is that doable?
Thanks
As popup. So, when I click the Calendar icon it opens.
Thanks
Sure, here you go.
Entity (.Core)
AppService (.Application)
Seed method (.EntityFramework)
Table in DB (<a class="postlink" href="https://s21.postimg.org/ra51m36lz/image.png">https://s21.postimg.org/ra51m36lz/image.png</a>)
In a common lookup AppService I use this code:
public async Task<ReferenceDataDto> GetReferenceTables()
{
// Bring Shelters from specific Tenant user is logged in to
List<Shelter> shelters;
shelters = await _shelters.Shelters.OrderBy(s => s.ShelterCode).ToListAsync();
This AppService I was calling while logged in as Admin Host.
Appreciate your assistance.
Good to know.
Any guides now on how to do that manually? Steps involved, references, etc.
Great, I can see it now.
In the DefinitionManager.Initialize() it saves all settings from all providers.
SetingsManager uses the SettingsStore to persist to DB.
I still have one missing link: SettingsManager, where is it called to persist whatever settings DefinitionManager has? I tried to look for that, but couldn't.
When searching for code how it works, is there like a guide or logical path to follow or starting point?
Thanks Ismail :)
Actually, the calendar I was using is the one that ships with UI Bootstrap.
Are the css and js files for the UI bootstrap included by default in the application?
Hi Ismail,
The post isn't clear enough!!
Is there a more straight forward way? For instance, on gitHub, can I get all files that were changed, or added, or deleted from the last release and then apply that on my local project?
I appreciate your assistance.
Regards Bilal
Any idea?
Thanks Ismail :)
Can you refer me to a sample code where you use moment to prepare date before sending it to server, other than AuditLog?
Regards Bilal