%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGrowthPath.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGrowthPath" %> <%= new MyGrowthPathNavTopInstance(this) { Local= MyGrowthPathNavTopItem.比一比 }.ToHtml()%>
<% var listVideo = CreateInstance.VideoDao.Where(l => l.ParentUser == this.User && l.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.审核通过 && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.有效 && l.TeacherRatio > 0 && l.StudentRatio > 0) .Take(100) .OrderByDescending(l => l.CreateTime) .ToList(); //var crit = CreateInstance.VideoDao.NHibernateSession.CreateCriteria