Forum:  LLBLGen Pro Runtime Framework

Thread:  TypedList custom column

tprohas (User)   Posted on: 30-May-2008 23:56:28.
LLBLGen 2.5
Runtime: v2.0.50727

I'm trying to add a custom column to a typed list which I think needs to use an Expression. I want to concatenate and format a number of fields and I can't figure out how to do it.

This is what the custom property looks like on an entity.


public string EventNameAndTime
        string timeSpan = this.StartTime.ToString("MM/dd/yyyy") + " " + this.StartTime.ToString("hh:mm tt") + " - " + this.EndTime.ToString("hh:mm tt");
        return this.EventName + " " + timeSpan;

Now how would I do this in a typed list?
daelmo (Support Team)   Posted on: 31-May-2008 04:40:33.
These threads could help you: