Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "BobIngham"

@botcoredev, I would also like to do this and found Microsoft's instructions bewlidering when I looked at them. Does anyone have some base instructions on how to do this?

Answer

Thanks, @ismcagdas, always a pleasure!

Question

The latest versions of kendo's Angular components has deprecated the dependency on rxjs-compat. Can this package be removed safely from Zero or are there any other dependencies?

.NET Core, Angular, 6.8.0, aspnet framework 4.6. I have refactored and continued but would still like to know best practise.

@maliming, That's great, I understand relationships but they key here is "Open EDM in XML" and "put into the NcDocumentDocumentTag table in the <AssociationSetMapping/> section.". How, exactly, do I do that with .Net Zero. This isn't a show stopper, I will refactor and place an Id column in my link table and use .ThenInclude() to get around the problem. But I was wondering....

Hi @maliming, Thanks for getting back.

    [Table("NcDocument")]
    public class NcDocument : FullAuditedEntity<int>, IMustHaveTenant, IExtendableObject
    {
        public int TenantId { get; set; }
        public int NcDocumentTypeId { get; set; }
        public int? NcDocumentTemplateId { get; set; }
        public int NcDocumentCategoryId { get; set; }
        public string DisplayName { get; set; }
        public string ReportString { get; set; }
        public string ExtensionData { get; set; }
        public string Uri { get; set; }
        public virtual NcDocumentTemplate DocumentTemplate { get; set; }
        public virtual NcDocumentCategory DocumentCategory { get; set; }
        public virtual NcDocumentType DocumentType { get; set; }
        public List<NcDocumentTag> DocumentTags { get; set; }
        public List<NcDocumentHistory> DocumentHistory { get; set; }
    }
    
    [Table("NcDocumentTag")]
    public class NcDocumentTag : IMustHaveTenant
    {
        public int Id { get; set; }
        public int TenantId { get; set; }
        public int NcDocumentTagTypeId { get; set; }
        public string DisplayName { get; set; }
    }

When I have a link table like the NcDocumentDocumentTag table below: How do I return the relevant NcDocumentTag records for the NcDocument table? In Entity Framework the NcDocumentTag table would normally be loaded through lazy loading but using Abp's repositories as follows doesn't work:

            var NcDocument = await _ncDocumentRepository.GetAll()
                .Where(m => m.Id == input.Id)
                .Include(m => m.DocumentTags)
                .FirstOrDefaultAsync();

And I would not have to create an entity in my Core project for the link table but that doesn't seem to work with the .Include() extension. Any ideas anyone?

@ismcagdas. Error still occuring in logs on startup in Azure but system seems to work. It's just noise but I would like to reove asap.

Hi @ismcagdas. 4.6.1

@mumfie, that's fantastic, thank you. @ismcagdas, you reckon you can do something like this when you come to

prepare such a sample

? Just asking....

Showing 251 to 260 of 619 entries