Code: Select all
var settings = from setting in context.AppSettings
select new AppSettingsDto {
ReallyLongPropertyNameInDtoClass = setting.ReallyLongProperty
};
var results = settings.ToArray() //This is where the error occurs
Code: Select all
SELECT "setting".REALLY_LONG_PROPERTY AS "ReallyLongPropertyNameInDtoClass"
FROM SCHEMA.APP_SETTINGS "setting"
This is just pseudocode, I can send concrete examples if necessary.
Thanks.