public class SomeEntity{ //Constructor for new instance public SomeEntity(string Name, string ANeededValue, int AnotherNeededValue){...} //Constructor for a retrieved instance public SomeEntity(int ID, string Name, XmlDocument TheReasonForTheObject){...} //Members private string mName; //... //Properties, Methods, Etc. public void DoSomethingImportant(){...} public string Name{ { get{return mName;} } //...}
public class SomeEntity{ //default constructor public SomeEntity(){} //Members public string Name; public string ANeededValue; public int AnotherNeededValue; //Properties, Methods, Etc.... public void DoSomethingImportant(){...} }
SomeEntity AnObjectINeed = new SomeEntity();AnObjectINeed.Name = "Fred";AnObjectINeed.ANeededValue = "Tuesday";AnObjectINeed.AnotherNeededValue = 789;
public class SomeEntity{ //Members public string Name; public string ANeededValue; public int AnotherNeededValue; public DateTime OoopsForgotThis; //Properties, Methods, Etc.... public void DoSomethingImportant(){...} }
//Constructor for a retrieved instance public SomeEntity(int ID, string Name, XmlDocument TheReasonForTheObject){...}
//Constructor for a retrieved instancepublic SomeEntity(int ID){...}
Remember Me
Theme design by Dean Fiala
Pick a theme: BlogXP calmBlue Candid Blue dasBlog Discreet Blog Blue Elegante essence Just Html Mono Movable Radio Blue Movable Radio Heat orangeCream Portal Project84 Slate Sound Waves Tricoleur windmill
Powered by: newtelligence dasBlog 2.1.8102.813
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Dean Fiala
E-mail