д???????????£?
    using System;
    using System.Collections.Generic;
    using System.Text;
    using NUnit.Framework;
    using WYEng.SQLServerDAL;
    namespace WYEng.TestUnit
    ??{
    [TestFixture]
    public class TQL_Part
    ??{
    SQLServerDAL.TQL_Part part;
    WYEng.Model.TQL_Part p;
    [SetUp]
    public void CreateObject????
    ??{
    part = new WYEng.SQLServerDAL.TQL_Part??????
    p=new WYEng.Model.TQL_Part??????
    }
    [TearDown]
    public void DeleteObject????
    ??{
    part = null;
    p=null;
    }
    [Test]
    public void GetPaperPart????
    ??{
    //????TaskId???????????????Part???????
    p = part.GetPaperPart??1???? //???????
    Assert.AreEqual??p.PartCode?? "6666"????
    }
    }
    }????Nunit????????????????鷢???????
    model???е?TQL_PArt??description?μ???????????
    if ??value != null && value.Length > 50??
    throw new ArgumentOutOfRangeException??"Invalid value for Description"?? value?? value.ToString????????
    ???????description??????Varchar??500????????????50?????????? if ??value != null && value.Length > 50??
    ?????????к????????????