0
我有一个看起来像这样的实体:出现InvalidOperationException:属性“X”是不是类型声明的属性“Y”
public class SomeType
{
public char CharacterProperty { get; set; }
}
当DbContext
被初始化,我得到一个错误:
The property 'CharacterProperty' is not a declared property on type 'SomeType'.