public static void CreateInstance()
{
using (var ru = new RepositoryUse())
{
//
var list1 = ru.SysUserRepository.IQueryable().ToList();
//SQL
var list2 = ru.Context.Set<SysUser>().FromSql("select * from sysuser").ToList();
//
//SysUser
//
string tableName = "SysUser";
//tableNameSysUserSet<TEntity>
//stringToTEntity(tableName)
//C-sharpdmobject as SysUser
var dm = Activator.CreateInstance(Type.GetType("Domain.SysUser"));
var domain = dm as SysUser;
//Set
}
}