小编jva*_*hyn的帖子

在Entity Framework中为引用对象指定列的名称

我有一个预定义的数据库,我想使用Entity Framework 4 CodeFirst映射.

public class Site
{
    public int SiteId { get; set; }
    public string SiteName { get; set; }
    public DateTime InstallDate { get; set; }
    public string Phase { get; set; }
    public string Address { get; set; }
    public string GpsPosition { get; set; }
    public string NetworkDetail { get; set; }
    public string SiteCode { get; set; }
    public string UserGroupCode { get; set; }
    public string InfrastructureNumber { get; set; }
    public string …
Run Code Online (Sandbox Code Playgroud)

.net c# entity-framework

7
推荐指数
1
解决办法
7848
查看次数

标签 统计

.net ×1

c# ×1

entity-framework ×1