Files
Dapper/Dapper.Tests.Performance/Post.cs
T
ifle 9313e9f1f8 Added Linq2DB benchmarks (#1125)
Added Linq2DB benchmarks
2018-09-11 17:39:12 -04:00

28 lines
921 B
C#

using System;
using Soma.Core;
namespace Dapper.Tests.Performance
{
[ServiceStack.DataAnnotations.Alias("Posts")]
[Table(Name = "Posts")]
[LinqToDB.Mapping.Table(Name = "Posts")]
public class Post
{
[Id(IdKind.Identity)]
[LinqToDB.Mapping.PrimaryKey, LinqToDB.Mapping.Identity]
public int Id { get; set; }
public string Text { get; set; }
public DateTime CreationDate { get; set; }
public DateTime LastChangeDate { get; set; }
public int? Counter1 { get; set; }
public int? Counter2 { get; set; }
public int? Counter3 { get; set; }
public int? Counter4 { get; set; }
public int? Counter5 { get; set; }
public int? Counter6 { get; set; }
public int? Counter7 { get; set; }
public int? Counter8 { get; set; }
public int? Counter9 { get; set; }
}
}