You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
2.5 KiB
106 lines
2.5 KiB
using System;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
|
|
public class Subqueryable<T> where T : class, new()
|
|
{
|
|
public Subqueryable<T> Where(Func<T, bool> expression)
|
|
{
|
|
return this;
|
|
}
|
|
public Subqueryable<T> OrderBy(Func<T, object> expression)
|
|
{
|
|
return this;
|
|
}
|
|
public Subqueryable<T> GroupBy(Func<T, object> expression)
|
|
{
|
|
return this;
|
|
}
|
|
public Subqueryable<T> OrderByDesc(Func<T, object> expression)
|
|
{
|
|
return this;
|
|
}
|
|
|
|
public TResult Select<TResult>(Func<T, TResult> expression) where TResult :struct
|
|
{
|
|
return default(TResult);
|
|
}
|
|
public Byte[] Select(Func<T, Byte[]> expression)
|
|
{
|
|
return null;
|
|
}
|
|
public string Select(Func<T, string> expression)
|
|
{
|
|
return default(string);
|
|
}
|
|
|
|
public TResult Max<TResult>(Func<T, TResult> expression) where TResult : struct
|
|
{
|
|
return default(TResult);
|
|
}
|
|
public Byte[] Max(Func<T, Byte[]> expression)
|
|
{
|
|
return null;
|
|
}
|
|
public string Max(Func<T, string> expression)
|
|
{
|
|
return default(string);
|
|
}
|
|
|
|
public string Min(Func<T, string> expression)
|
|
{
|
|
return default(string);
|
|
}
|
|
public TResult Min<TResult>(Func<T, TResult> expression) where TResult : struct
|
|
{
|
|
return default(TResult);
|
|
}
|
|
public Byte[] Min(Func<T, Byte[]> expression)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
|
|
public string Sum(Func<T, string> expression)
|
|
{
|
|
return default(string);
|
|
}
|
|
public TResult Sum<TResult>(Func<T, TResult> expression) where TResult : struct
|
|
{
|
|
return default(TResult);
|
|
}
|
|
public Byte[] Sum(Func<T, Byte[]> expression)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public string Avg(Func<T, string> expression)
|
|
{
|
|
return default(string);
|
|
}
|
|
public TResult Avg<TResult>(Func<T, TResult> expression) where TResult : struct
|
|
{
|
|
return default(TResult);
|
|
}
|
|
public Byte[] Avg(Func<T, Byte[]> expression)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public bool Any()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
public bool NotAny()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
public int Count()
|
|
{
|
|
return default(int);
|
|
}
|
|
}
|
|
}
|