Thoughts on Linq, and the separation between the business logic and data access layers
public void LoadObject() { _containerDataTable = _dAL.GetQueryResultsAsDataTable("SELECT * FROM [table] WHERE id='" + this.ID + "'"); }
public void SomeMethod() { XmlTextReader textReader = new XmlTextReader("c:\\xmldata.xml"); textReader.Read(); XElement ajobs = XElement.Load(textReader); var jobCollection = from abc in ajobs.Descendants("Job") select abc; }