我正在开发一个我需要产生无数个飞机的游戏。我设法产生飞机,但是我希望它们彼此产生一定的距离,就像一个远离彼此的距离。向前看听到你的消息。
public static List<ExamComposite> BindResult(DataSet dsSubjectMarks, int RollNO)
{
var Angular = dsSubjectMarks.Tables[0];
var React = dsSubjectMarks.Tables[1];
var Rno = RollNO;
var mListExamComposite = new List<ExamComposite>();
if (Angular.Rows.Count > 0)
{
foreach (DataRow dr in Angular.Rows)
{
var _ExamComposite= new ClaimLineComposite
{
// Code for mapping
};
mListExamComposite .Add(_ExamComposite);
}
}
return mListExamComposite ;
}
namespace ExamManager_Controller.Composite
{
public class ExamComposite : PocoBase
{
public List<ExamCompositList> Exam_Comp_Data { get; set; }
}
}
namespace ExamManager_Controller.Atomic
{
public class ExamCompositeList:PocoBase
{
public Anguar _Anguar { get; set; }
public React _React { get; set; }
}
}
namespace ExamManager_Controller.Atomic
{
public class Anguar : PocoBase
{
public string version{ get; set; }
public string User{ get; set; }
}
}
namespace ExamManager_Controller.Atomic
{
public class React: PocoBase
{
public string version{ get; set; }
public string User{ get; set; }
}
}