Hi all,

 

I'm starting out with Entity Framework (.NET 3.5) and am curious if it
can handle the following scenario and how to go about implementing it.

 

Say I have single table like so

 

TableName:       Languages

Columns:             Name

TranslatedMonths

 

An example row would be

Name=English

TranslatedMonths ="Jan, Feb, Mar...."

 

In the entities layer, I want this represented as to types of classes, 

 

ClassName:        Languages

Memebers:        Name

List(Of Months)

 

Can I do this with EF? Where do I start. I've played a bit with this
scenario but can't seem to get it to where I want. I've done a bit with
Partial Classes for this so far, but I'm just not happy with trying to
keep the String property created by ef in sync with my custom added list
property. For this I'd like to remove the property from the entity in
the designer, but not sure how then to have that database value loaded
so I can parse it out into my list.

 

Thanks

 

 

<<image002.jpg>>

Reply via email to