I added a string unmapped field (computed: yes) and i created a new method
private static server str Method1()
{
}
I want to say if(one of the fields of data entity = sth) return "String1" else return "string2". How can i do that in method 1 that i created?
or can i use a method that is already on the table (data entity datasource method)?
One more thing, from what i read, there is two types, one is computed column and the other is virtual field
1. When should i use computed and when virtual? i read that computed is better but in what case i should say i should use computed and in which case i should choose virtual? what is the difference?
2. I think i can't skip staging using virtual field, is it the same using computed column?