忘性大,记录一下
List<ServiceTypeParent> ServiceTypeParent = new List<SoOpen.ServiceTypeParent>()
{
new ServiceTypeParent{ServiceTypeID=ServiceType.ServiceTypeID,ServiceTypeName=ServiceType.ServiceTypeName },
new ServiceTypeParent{ServiceTypeID=ServiceType1.ServiceTypeID,ServiceTypeName=ServiceType1.ServiceTypeName },
};
SqlParameter[]
paras = new SqlParameter[]
{ new SqlParameter("@name","Pudding"),new SqlParameter("@ID","1")
};