Getting Started

class Program {
	static void Main(string[] args) {
		Objects.Instance.Open();

		var user = Objects.Instance.Create<User>();
		user.Name = "nonocast";
		user.Save();

		Console.WriteLine("press any key to exit.");
		Console.ReadLine();
		Objects.Instance.Close();
	}
}

public class User : BusinessObject {
	public string Name { get; set; }
}

Last edited Jun 28, 2012 at 9:31 PM by nonocast, version 1

Comments

No comments yet.