i use EntityFramework and Module-Zero example
i hope this class
[Table("Tasks")]
public class Task : Entity<long>
{
public Task()
{
}
public virtual string taskName { get; set; }
// module-zero user class EF automatic link
public virtual User usr { get; set; }
[ForeignKey("UserId")]
public virtual long? UserId { get; set; }
}
but An Error occured [The property 'UserId' cannot be configured as a navigation property. The property must be a valid entity type and the property should have a non-abstract getter and setter. For collection properties the type must implement ICollection<T> where T is a valid entity type.]
what can i do ? thank you.
i use asp.net module zero sample. when New User Create button clieck , error occured. so i can not create New User.
error is : [TypeError: _$form.serializeFormToObject is not a function] in file [MyApp/Views/Users/index.js]
i deploy ABP sample Web site to IIS(Default Web Site)
sample : <a class="postlink" href="http://localhost/MyAbp/">http://localhost/MyAbp/</a>
i clicked Menu (About) page goto <a class="postlink" href="http://localhost/About/">http://localhost/About/</a>
but i hope page <a class="postlink" href="http://localhost/MyAbp/About">http://localhost/MyAbp/About</a>
why sitename is cleared?
I deploied ABP project. I use IIS 7.0 but WebSite does not work.
I hope <a class="postlink" href="http://localhost/WebSiteName/xxxxx">http://localhost/WebSiteName/xxxxx</a>
but <a class="postlink" href="http://localhost/xxxxx">http://localhost/xxxxx</a> SiteName was cleared.
Why?