I have a base class that all entities inherit from. It takes care of, among other things, the entities id field. How do I tell ED not worry about the id field? Right now I create a partial class that "sits" next to the ED generated class that includes the inheritance information, interfaces, etc. Can ED handle this without the additional partial class? Here's an example:
using System;
using System.Collections.Generic;
using Marinas.Infrastructure;
namespace Marinas.Domain
{
public partial class WebPage : BusinessBase<WebPage>, IWebPage, IAggregateRoot
{
partial void OnCreated()
{
DateEntered = DateTime.Now;
}
protected override void validate()
{
}
}
public interface IWebPage
{
}
}
base class inheritence
Re: base class inheritence
Please specify the ORM framework (Entity Framework/NHibernate/LinqConnect) you are working with.