Here are the examples of the csharp api class System.Data.Common.CommandTrees.ExpressionBuilder.Internal.ArgumentValidation.ValidateBound(System.Data.Common.CommandTrees.DbExpressionBinding, System.Data.Common.CommandTrees.DbExpression, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
View licenseinternal static TypeUsage ValidateQuantifier(DbExpressionBinding input, DbExpression predicate) { ValidateBound(input, predicate, "predicate"); RequireCompatibleType(predicate, PrimitiveTypeKind.Boolean, "predicate"); return predicate.ResultType; }
0
2. Example
View licenseinternal static TypeUsage ValidateFilter(DbExpressionBinding input, DbExpression predicate) { ValidateBound(input, predicate, "predicate"); RequireCompatibleType(predicate, PrimitiveTypeKind.Boolean, "predicate"); return input.Expression.ResultType; }
0
3. Example
View licenseinternal static TypeUsage ValidateProject(DbExpressionBinding input, DbExpression projection) { ValidateBound(input, projection, "projection"); return CreateCollectionResultType(projection.ResultType); }