1

Closed

Renamed ContentType and ScopeType

description

I know C# doesn't allow Properties to have same names as Classes they are in. So far I had no problems with both 'ContentType' and 'ScopeType' properties renamed to 'Type' however there is serious problem with renamed SQL columns.
 
I changed in ContentType.cs
Type = Null.SetNullString(dr["Type"]); to Type = Null.SetNullString(dr["ContentType"]);
and in ScopeType.cs
Type = Null.SetNullString(dr["Type"]); to Type = Null.SetNullString(dr["ScopeType"]);
 
And restored original SQL file 05.03.00.SqlDataProvider and folder 'Library\Entities\Content\Data\Scripts'
 
So far its working flawlessly.
Closed Oct 7, 2010 at 1:00 PM by zyhfish

comments

zyhfish wrote Jun 8, 2010 at 12:31 AM

this change will be work right, I will discuss it with other guys to decide how to do this, thank you.

wrote Jun 12, 2010 at 1:47 AM

wrote Oct 7, 2010 at 1:00 PM

wrote Feb 13, 2013 at 10:46 PM

wrote May 16, 2013 at 3:13 AM