in order to use EF7 commands

This commit is contained in:
Paul Schneider 2018-04-18 18:15:40 +02:00
commit 4b6958e8e9
474 changed files with 316 additions and 181 deletions

View file

@ -1,12 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Forms
{
public class Form
{
[Key]
public string Id {get; set;}
public string Summary { get; set; }
}
}

View file

@ -1,17 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Forms.Validation
{
public class Method
{
[Key]
public string Name {get; set; }
/// <summary>
/// TODO localisation ...
/// </summary>
/// <returns></returns>
[Required]
public string ErrorMessage { get; set; }
}
}

View file

@ -1,7 +0,0 @@
namespace Yavsc.Models.Forms.Validation
{
public class Required : Method
{
}
}