'CompanyName.Foo' is a 'namespace' but is used like a 'type'

后端 未结 8 1100
暗喜
暗喜 2020-12-01 00:26

Restatement of the question

I\'m resurrecting this question because I just ran into this error again today, and I\'m still utterly confused why the

8条回答
  •  暖寄归人
    2020-12-01 00:44

    why can't you just do

    using CompanyName.Foo; 
    ... 
    public Models.Foo DataContext { get; set; } 
    

提交回复
热议问题