Page 1 of 1

having issue with code generation

Posted: Wed 06 May 2009 18:41
by MisterStinky
I'm using the latest version of Entity Developer 2.00.18

At least with postgres, it (the code generation) is outputting an extra %
after the closing brace of SendProperyChanged method. I've tried not doing serialization, but it (code generation) still outputs the stray %

Code: Select all

protected virtual void SendPropertyChanged(String propertyName)
		{
			if (this.PropertyChanged != null)					this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));			}%		
		private void Initialize()
		{
			OnCreated();
		}

Posted: Thu 07 May 2009 08:52
by AndreyR
The problem seems to be associated with the Class template.
Please send us (support * devart * com, subject "ED: redundant %") your Class template and the generated model
(including the Designer.cs and .edps files).
You can find the Class template here:
%Program Files%\Devart\dotConnect\EntityDeveloper\Templates\LINQ\CS\class.tmpl