Answers for "EntityFramework: using tables in different scemas"

C#
0

EntityFramework: using tables in different scemas

using System.ComponentModel.DataAnnotations.Schema;

[Table("t_Department", Schema = "school")]
public class Department
{
    public int Id { get; set; }

    public string Name { get; set; }
}
Posted by: Guest on August-20-2021

Code answers related to "EntityFramework: using tables in different scemas"

C# Answers by Framework

Browse Popular Code Answers by Language