public static dynamic InstanceFromData <T, U>(CdmCorpusContext ctx, U obj) where T : CdmObject { string persistenceTypeName = "CdmFolder"; return(PersistenceLayer.FromData <T, U>(ctx, obj, persistenceTypeName)); }