Windows Live Writer Enhancement – C# Code Display Support

It would be nice if Live Writer formatted code like Visual Studio.


//Get paymment for claim
var QueryClmPayItems = from C in HpDb.View_ClaimsPayItemCheckDetailsUnitStats
                       where C.CNUMBER.HasValue && C.CNUMBER.Value.Equals(ClaimNumberIn)// && C.CheckDate.HasValue && C.CheckDate.Value <= ValuationDateIn
                       select C;

//filter on dates, sql test workaround with where in statement above process was taking hours to run
var QueryClmPayItemsDateFiltered = from X in QueryClmPayItems
                                   where X.CheckDate.HasValue && X.CheckDate.Value <= ValuationDateIn
                                   select X;



The latter is much easier to read!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s