Blog
Upgrade xVal.WebForms 0.1 to use xVal.1.0 (Validation Summary Support)
·62 words·1 min
dotnet
aspnet
xVal
Recently I found out about xVal.WebForms project at CodePlex.com. Its a good implementation of XVal for ASP.Net WebForms made by John Rummell.
I missed Validation Summary support so I upgraded John’s code so it could work with XVal 1.0.
I submitted two patches modifying ModelValidator.cs and xVal.jquery.validate.js.
These changes are now part of the Trunk repository as you can see here:
Issue in non Generic Execute Method in DbLinq.Data.Linq.Implementation.QueryProvider
·149 words·1 min
dotnet
We’ve been working with DbLinq for a while now, at HexaSystems and recently using it together with Dynamic Linq and SQLite I programed a call to the Count method of a Queryable object as follows:
public static int Count(this IQueryable source) { if (source == null) throw new ArgumentNullException("source"); return (int)source.Provider.Execute( Expression.Call( typeof(Queryable), "Count", new Type[] { source.ElementType }, source.Expression)); } I noticed that when doing so against a DbLInq Table object the following method is called: