* minor changes (like an [em] BBcode)

* Trying to use OAuth2 Google Login
This commit is contained in:
Paul Schneider 2014-12-09 01:59:38 +01:00
commit 3f41636719
32 changed files with 16285 additions and 119 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace SalesCatalog.Model
{
@ -10,11 +11,17 @@ namespace SalesCatalog.Model
/// <value>
/// The identifier.
/// </value>
[Required]
[StringLength(256)]
public string Id { get; set; }
private string name=null;
public abstract string Type { get; }
private string name=null;
[StringLength(256)]
public string Name { get { return name == null ? Id : name; } set { name = value; } }
}
}