All pastes #410049 Raw Edit

Something

public text v1 · immutable
#410049 ·published 2007-03-26 02:13 UTC
rendered paste body
//This class has been automatically generated 
//as part of the DiamondBinding framework
//Do not edit by hand.
//Definition for class <%=Table.Name%>
[Class]
public partial class <%=Table.Name%>
{
	#region Protected fields
<%
for column in Table.Columns:
		!!\tprotected ${column.DataType} _${column.Name};!!
%>
	#endregion
		
<%
for column in Table.Columns:
	!!\t#region The ${column.Name} property accessor!!
	!!\t[Property]!!
	!!\tpublic ${column.DataType} ${column.Name}!!
	!!\t{!!
	!!\t\tget{return _${column.Name};}!!
	!!\t\tset{_${column.Name} = value;}!!
	!!\t}!!
	!!\t#endregion!!
	Response.WriteLine("");
%>
}