22 lines
483 B
C#
22 lines
483 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebApplication1.Data.Models
|
|
{
|
|
public class GuidShardingTable
|
|
{
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public string Name { get; set; } = "";
|
|
|
|
}
|
|
}
|