Hi
Ok - here's the part you need to change (but bear in mind this obviously isn't an official fix as you wouldn't normally want to alter any of the "Generated" templates as these change when new releases come out etc.
Steps to follow:
1) Open up MyGen
2) Select the "EntitySpaces - ProxyStub (C#)" template from the Template Browser - it will be under the C#, Generated folder.
3) Make sure the selected tab is "Template Code"
4) Look for the following code "<% foreach(EntitySpaces.MetadataEngine.IColumn col in cols)"
5) Select all code between that line (above) and the setter code line (shown here for reference): "set { this.Entity.<%=esMeta.esPlugIn.PropertyName(col)%> = value; }"
6) replace all of the selected code with this:
Code:
<% foreach(EntitySpaces.MetadataEngine.IColumn col in cols)
{
lastOrdinal = col.Ordinal; %>
<%if(WcfSupport){%>[DataMember(<%if(WcfOrder){%>Order=<%=col.Ordinal.ToString()%><%} if(WcfEmitDefaultValue){%>, EmitDefaultValue=false<%} if(WcfIsRequired && !col.IsNullable) {%>, IsRequired=true<%}%>)]<%}%>
public <%=esMeta.esPlugIn.NullableType(col)%> <%=esMeta.esPlugIn.PropertyName(col)%>
{
get
{
<%if(col.IsInPrimaryKey || IsConcurrency(props, col)) { %>if (this.Entity.es.IsDeleted)
return (<%=esMeta.esPlugIn.NullableType(col)%>)this.Entity.
GetOriginalColumnValue(<%=esMeta.esPlugIn.Metadata(source)%>.ColumnNames.<%=esMeta.esPlugIn.PropertyName(col)%>);
else
return this.Entity.<%=esMeta.esPlugIn.PropertyName(col)%>;<% } else { %>
<%if(esMeta.esPlugIn.UseNullableTypesAlways) {%> if (this.IncludeColumn(<%=esMeta.esPlugIn.Metadata(source)%>.ColumnNames.<%=esMeta.esPlugIn.PropertyName(col)%>))
return this.Entity.<%=esMeta.esPlugIn.PropertyName(col)%>;
else
return null;<%}
else {%> return this.Entity.<%=esMeta.esPlugIn.PropertyName(col)%>;<%}}%>
}
set { this.Entity.<%=esMeta.esPlugIn.PropertyName(col)%> = value; }
That should do it - remember though that this isn't an EntitySpaces "fix" - just one user helping another

Cheers
Martin