public DynamicTypeCodeGenerator(string @namespace, string typeName, DynamicBaseType baseType, DynamicTypeDefinition def, HashSet <string> usings) { this.Usings = usings; this.Namespace = @namespace; this.TypeName = typeName; this.BaseType = baseType; this.Def = def; }
private string GetEntityBaseClass(DynamicBaseType baseType) { if (this.Def.CustomInheritance != null) { return(this.Def.CustomInheritance.Code); } return(baseType.ToString()); }