using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using MapTo; namespace BlueWest.Data { [MapFrom( typeof(UserCreate))] /* [UseUpdate] */ public partial class User { public int Id { get; set; } public string Name { get; set; } public List FinanceTransactions { get; set; } public Country Country { get; set; } public User(int id, string name) { Id = id; Name = name; } public User() { } } }