Click here to Skip to main content
15,113,029 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Looking for a (free) .NET pluralizer / singularizer Pin
Sander Rossel6-Jul-20 22:34
professionalSander Rossel6-Jul-20 22:34 
Questionport 5xxxx is already in use, unable to connect to web server IIS Express Pin
Member 109358009-May-20 4:35
MemberMember 109358009-May-20 4:35 
AnswerRe: port 5xxxx is already in use, unable to connect to web server IIS Express Pin
Member 79891223-Jun-20 6:39
MemberMember 79891223-Jun-20 6:39 
QuestionDiscUtils.dll And DiscUtils.Common.Dll (i can't find them) Pin
Member 147711169-May-20 4:32
MemberMember 147711169-May-20 4:32 
AnswerRe: DiscUtils.dll And DiscUtils.Common.Dll (i can't find them) Pin
Dave Kreskowiak9-May-20 5:06
mveDave Kreskowiak9-May-20 5:06 
Questiondifficulties with AdvancedDatagridView Pin
Member 147338666-May-20 23:44
MemberMember 147338666-May-20 23:44 
AnswerRe: difficulties with AdvancedDatagridView Pin
Richard MacCutchan7-May-20 0:00
mveRichard MacCutchan7-May-20 0:00 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338667-May-20 0:37
MemberMember 147338667-May-20 0:37 
GeneralRe: difficulties with AdvancedDatagridView Pin
Richard MacCutchan7-May-20 1:02
mveRichard MacCutchan7-May-20 1:02 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338667-May-20 1:14
MemberMember 147338667-May-20 1:14 
GeneralRe: difficulties with AdvancedDatagridView Pin
Eddy Vluggen7-May-20 2:05
professionalEddy Vluggen7-May-20 2:05 
GeneralRe: difficulties with AdvancedDatagridView Pin
Member 147338667-May-20 2:46
MemberMember 147338667-May-20 2:46 
GeneralRe: difficulties with AdvancedDatagridView Pin
Pete O'Hanlon7-May-20 2:49
mvePete O'Hanlon7-May-20 2:49 
QuestionWindows 1903 Jump Lists Pin
Robert Heath29-Apr-20 20:25
MemberRobert Heath29-Apr-20 20:25 
GeneralRe: Windows 1903 Jump Lists Pin
Richard MacCutchan30-Apr-20 0:10
mveRichard MacCutchan30-Apr-20 0:10 
AnswerRe: Windows 1903 Jump Lists Pin
Eddy Vluggen30-Apr-20 0:29
professionalEddy Vluggen30-Apr-20 0:29 
Questionhow to use datatable as Datasource with Datagridview unless datagridviewrow Pin
Member 1473386629-Apr-20 3:31
MemberMember 1473386629-Apr-20 3:31 
AnswerRe: how to use datatable as Datasource with Datagridview unless datagridviewrow Pin
Richard MacCutchan29-Apr-20 4:20
mveRichard MacCutchan29-Apr-20 4:20 
QuestionThere is no Unicode byte order mark. Cannot switch to Unicode. Pin
Michele Smith20-Apr-20 13:56
MemberMichele Smith20-Apr-20 13:56 
AnswerRe: There is no Unicode byte order mark. Cannot switch to Unicode. Pin
Richard Deeming21-Apr-20 1:21
mveRichard Deeming21-Apr-20 1:21 
QuestionResource Error Pin
Member 129880739-Apr-20 19:19
MemberMember 129880739-Apr-20 19:19 
QuestionRe: Resource Error Pin
Richard MacCutchan9-Apr-20 22:37
mveRichard MacCutchan9-Apr-20 22:37 
AnswerRe: Resource Error Pin
Dave Kreskowiak10-Apr-20 7:40
mveDave Kreskowiak10-Apr-20 7:40 
AnswerRe: Resource Error Pin
Jin Vincent Necesario15-Apr-20 20:10
professionalJin Vincent Necesario15-Apr-20 20:10 
QuestionHow to know which Id belongs to which object? Pin
simpledeveloper30-Mar-20 13:29
Membersimpledeveloper30-Mar-20 13:29 
Hi all - I have 3 foreign key ids and they are coming from same table, so they are referenced with table names in the below class, now - how can I know which object refers to which ID - for example the Ids
public partial class InspectionResult
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
    public InspectionResult()
    {
        this.EventLogs = new HashSet<EventLog>();
        this.InspectionItems = new HashSet<InspectionItem>();
        this.InspectionResultStatCounts = new HashSet<InspectionResultStatCount>();
        this.NOVs = new HashSet<NOV>();
        this.UploadedDocuments = new HashSet<UploadedDocument>();
        this.AspNetUsers = new HashSet<AspNetUser>();
    }

    public int InspectionResultId { get; set; }

    public string EnteredById { get; set; }

    public string CreatedByUserId { get; set; }
    public string UpdatedByUserId { get; set; }

    public virtual AspNetUser AspNetUser { get; set; }
    public virtual AspNetUser AspNetUser1 { get; set; }
    public virtual AspNetUser AspNetUser2 { get; set; }

    public virtual ICollection<AspNetUser> AspNetUsers { get; set; }
}

EnteredById, CreatedByUserId, UpdatedByUserId are coming from same table AspNetUser, but how would I know which Id belongs to AspNetUser, AspNetUser1, ,AspNetUser2 and how to handle AspNetUsers object? I am using EF Database First Approach any help please - thank you.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.