Browse Source

Table per type

confirmation-email
unknown 11 years ago
parent
commit
6c7ce8a061
2 changed files with 5 additions and 1 deletions
  1. +3
    -1
      Sevomin.Models/Avalin.cs
  2. +2
    -0
      Sevomin.Models/Dovomin.cs

+ 3
- 1
Sevomin.Models/Avalin.cs View File

@ -1,6 +1,8 @@

using System.ComponentModel.DataAnnotations.Schema;
namespace Sevomin.Models namespace Sevomin.Models
{ {
[Table("Avalin")]
public class Avalin : User public class Avalin : User
{ {
public string CompanyName { get; set; } public string CompanyName { get; set; }


+ 2
- 0
Sevomin.Models/Dovomin.cs View File

@ -1,6 +1,8 @@
 
using System.ComponentModel.DataAnnotations.Schema;
namespace Sevomin.Models namespace Sevomin.Models
{ {
[Table("Dvomin")]
public class Dovomin : User public class Dovomin : User
{ {
public string FirstName { get; set; } public string FirstName { get; set; }


Loading…
Cancel
Save