You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
582 B

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 Sevomin.Models
{
public class ParameterValue
{
[Key]
public int Id { get; set; }
[Required]
[Index]
[Index("IX_UniqueKey", 1, IsUnique=true)]
public int GroupKey { get; set; }
[Required]
[Index("IX_UniqueKey", 2, IsUnique = true)]
public string Value { get; set; }
}
}