I have a Azure Mobile App project which by default created TodoItem table controller. I also have a DAL project which uses EF6 Entity Data Model which is referred in my other ASP.Net MVC project.
I wish to use the same DAL project in my app project instead redefining each entities again. I understand that for Table Controller, these entities need to be derive from EntityData. And the one in DAL project are not, e.g. as below
namespace DAL.Model
{
using System;
using System.Collections.Generic;
public partial class TodoItem
{
public System.Guid Id { get; set; }
public string Text { get; set; }
public Nullable<bool> Complete { get; set; }
}
}
Am aware that I can inherit the DAL project using API Controller, but want to check possibility of using TableController in this context.