Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Cannot Drag and Drop Onto Designer #132

Closed
MissyGH opened this issue Dec 6, 2019 · 4 comments
Closed

Cannot Drag and Drop Onto Designer #132

MissyGH opened this issue Dec 6, 2019 · 4 comments
Labels
bug Confirmed bug duplicate Duplicate issue released Issue is resolved in a current release
Milestone

Comments

@MissyGH
Copy link

MissyGH commented Dec 6, 2019

I'm using Entity Framework v 2.2.6 and Entity Framework Visual Editor v 1.3.0.11 on a NET Standard 2.0 application. I really, really, really would love to use your tools because I can't find another visual editor for EF. I'm using :

Microsoft Visual Studio Community 2019
Version 16.4.0

When I try to drag my classes on to the designer, I get the following error:

Error interpreting (my model name)

Please help!!!

@SirBobcat
Copy link

Same as #128

@msawczyn
Copy link
Owner

msawczyn commented Dec 8, 2019

I think we have this fixed in the next version, but could both of you post a class that currently doesn't parse so I can have them for test data? I really want to be sure this thing is resolved. 😁

@msawczyn msawczyn added bug Confirmed bug duplicate Duplicate issue labels Dec 8, 2019
@msawczyn msawczyn added the pending release Issue is resolved in the current codebase, will be published with the next release label Dec 9, 2019
@msawczyn msawczyn added this to the 1.3.0.12 milestone Dec 9, 2019
@MissyGH
Copy link
Author

MissyGH commented Dec 9, 2019

Here you go:

// This file has been auto generated by EF Core Power Tools.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataLayer.Models
{
[Table("Address", Schema = "merchant")]
public partial class MercAddress
{
[Column("CustomerIDID")]
public int CustomerIDId { get; set; }
[Column("AddressTypeID")]
public int AddressTypeId { get; set; }
[Required]
[StringLength(255)]
public string AddressName { get; set; }
[Required]
[StringLength(255)]
public string AddressLine1 { get; set; }
[Required]
[StringLength(255)]
public string AddressLine2 { get; set; }
[Required]
[StringLength(255)]
public string City { get; set; }
[Required]
[StringLength(2)]
public string State { get; set; }
[Required]
[StringLength(10)]
public string Zip { get; set; }
[Required]
[StringLength(255)]
public string Title { get; set; }
[Required]
[StringLength(255)]
public string AddressPhone { get; set; }
[Required]
[StringLength(255)]
public string AddressEmail { get; set; }
[Column(TypeName = "datetime")]
public DateTime DateAdded { get; set; }
[Column(TypeName = "datetime")]
public DateTime DateTerminated { get; set; }
[Column("AddressID")]
public int AddressId { get; set; }

    [ForeignKey("AddressTypeId")]
    [InverseProperty("CustAddresses")]
    public virtual RefAddressType AddressType { get; set; }
    [ForeignKey("CustomerIDId")]
    [InverseProperty("CustAddresses")]
    public virtual CustApplication CustomerID { get; set; }
}

}

@SirBobcat
Copy link

SirBobcat commented Dec 9, 2019 via email

@msawczyn msawczyn added released Issue is resolved in a current release and removed pending release Issue is resolved in the current codebase, will be published with the next release labels Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Confirmed bug duplicate Duplicate issue released Issue is resolved in a current release
Projects
None yet
Development

No branches or pull requests

3 participants