public DataPage <UserFile> GetByType(Type t) { return(UserFile.findPage("DataType='" + t.FullName + "' ")); }
public DataPage <UserFile> GetPicByType(Type t) { return(UserFile.findPage("IsPic=1 and DataType='" + t.FullName + "' ")); }
public virtual DataPage <UserFile> GetFileByType(Type t) { return(UserFile.findPage(" IsPic=0 and DataType='" + t.FullName + "' ")); }