Initial import
This commit is contained in:
parent
0c865416ca
commit
04804b89a9
279 changed files with 12945 additions and 0 deletions
26
NpgsqlBlogProvider/DataModel/Blog.cs
Normal file
26
NpgsqlBlogProvider/DataModel/Blog.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Configuration;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Npgsql.Web.Blog.DataModel
|
||||
{
|
||||
public class Blog
|
||||
{
|
||||
string title;
|
||||
|
||||
[StringValidator(MaxLength=512)]
|
||||
[Required]
|
||||
[DisplayName("Titre")]
|
||||
public string Title {
|
||||
get {
|
||||
return title;
|
||||
}
|
||||
set {
|
||||
title = value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue