Is it possible to do something linke this?
Entity (with 3 Properties)
---> int A
---> int B
---> int C
from record in dbset
select new Entity
{
A = record.A
B = record.B
C = A * B
}
In this specific example, use
from record in dbset
select new Entity
{
A = record.A
B = record.B
C = record.A * record.B
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With