Where- IN in .net library
Where- IN in .net library
sarooptrivedi
Posts: 62Questions: 19Answers: 2
I am working with Editor Library and I am not finding out where with in parameter like PHP has.
where( 'orderstatus', '(1,2,3)', 'IN', false );
This Where in .Net Editor Libray
public Editor Where(Action<Query> fn)
{
_where.Add(new WhereCondition
{
Custom = fn
});
return this;
}
public Editor Where(string key, object value, string op = "=")
{
_where.Add(new WhereCondition
{
Key = key,
Value = value,
Operator = op
});
return this;
}
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
This section of the .NET docs pages should get you going - if not, please let us know,
Colin