New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ItemInstance for DatabaseObjectsMultipleSubclassUsingAttributes should fail #38

Closed
hisystems opened this Issue Mar 21, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@hisystems
Owner

hisystems commented Mar 21, 2012

Currently, if the IDatabaseObjects.ItemInstance property is called directly it will not fail when it should. This is because any class that implements IDatabaseObjectsMultipleSubclass does not utilise the DatabaseObjects.ItemInstance function, instead it utilises the IDatabaseObjectsMultipleSubclass.ItemInstanceForSubclass() function which allows the subclass to create different child sub objects that inherit from the same base class, rather than always return a subclass of the same type.

@ghost ghost assigned hisystems Mar 21, 2012

@hisystems hisystems closed this in 2819d2c Mar 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment