Click here to Skip to main content
15,896,512 members
Articles / Desktop Programming / WPF

WPF CRUD Generator (Scaffolding)

Rate me:
Please Sign up or sign in to vote.
4.89/5 (11 votes)
4 Jun 2009LGPL35 min read 88.4K   6.3K   61  
Semi-automatic GUI generation from Domain Models.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Technewlogic.BusinessCore;
using Technewlogic.Stasy.SyncProvider;

namespace Technewlogic.Samples.ManufacturingExecutionSystem.Backend.DomainModel
{
	public partial class Equipment
	{
		[IncludeInSerialization]
		internal Guid _id = Guid.NewGuid();

		#region Value Fields

		[IncludeInSerialization]
		internal string _name = string.Empty;

		[IncludeInSerialization]
		internal double _size = 100.0;

		[IncludeInSerialization]
		internal double _warnLevel = 20.0;

		[IncludeInSerialization]
		internal double _exceptionLevel = 10.0;
		
		#endregion

		#region Reference Pointer

		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer (Senior) www.technewlogic.de
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions