????????е????????????
???????????? ???????[ 2011/2/18 9:54:06 ] ????????
д???????????£?
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??
?????????к????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
App??С????H5?????????????????Щ???????????????????????????P-One ???????????????????????????????????????????????????????????????????????????????????????д?ò??????????????????????????????Щ??????????????????????????????????????????????????????????????APP????????????????????????????????????????5??????????????????????SQL?????в??????????Щ???????裿??γ????????????????????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44