using System.Data.Entity;
using System.Collections.Generic;
using AgileObjects.AgileMapper.Extensions;
public int Id { get; set; }
public class UserDto: _Id {
public string Name { get; set; }
public string Name { get; set; }
public static void Main()
var userDto = new UserDto
var user = userDto.Map().ToANew<User>();
public class EntityContext : DbContext
public EntityContext() : base(FiddleHelper.GetConnectionStringSqlServer())
public DbSet<Customer> Customers { get; set; }
public DbSet<Invoice> Invoices { get; set; }
public int CustomerID { get; set; }
public string Name { get; set; }
public virtual List<Invoice> Invoices { get; set; }
public int InvoiceID { get; set; }
public DateTime Date { get; set; }
public int CustomerID { get; set; }
public virtual Customer Customer { get; set; }
public virtual ICollection<Item> Items { get; set; }
public int ItemID { get; set; }
public string Name { get; set; }
public int InvoiceID { get; set; }
public virtual Invoice Invoice { get; set; }
public Operatori (int a, int b)
public double Shumezimi();
int x =int.Parse(Console.ReadLine()):
int y =int.Parse(Console.ReadLine()):