CatFactory icon indicating copy to clipboard operation
CatFactory copied to clipboard

CatFactory Scaffolding Engine

Results 10 CatFactory issues
Sort by recently updated
recently updated
newest added

Add extension methods to allow reduce syntax on create class definitions. Proposed design: ```csharp var classDefinition = ClassDefinition .New(AccessModifier.Public, "EmployeeController", "ShanghaiCat.API.Controllers", baseClass: "ControllerBase") .IsPartial() .AddDefaultCtor() ; ``` Output: ```csharp namespace...

enhancement

Add metadata attributes in `AddAutomaticProperty` extension method.

enhancement

Remove `FirstResultSetForObject`, this definition is obsolete and use `ResultSet` deinition.

enhancement

Add extension method to refact a record definition from anonymous types, using as example the `RefactRecord` method in [DefinitionsExtensions](https://github.com/hherzl/CatFactory.TypeScript/blob/master/CatFactory.TypeScript/ObjectOrientedProgramming/DefinitionsExtensions.cs).

enhancement

Add extension method to refact class definition from anonymous types, using as example the `RefactClass` method in [DefinitionsExtensions](https://github.com/hherzl/CatFactory.TypeScript/blob/master/CatFactory.TypeScript/ObjectOrientedProgramming/DefinitionsExtensions.cs).

enhancement

Add `IndentationStyle` enum, [following this guide](https://en.wikipedia.org/wiki/Indentation_style). Also add a property in `CodeBuilder` class.

enhancement

Add `ClassDefinition` method in `ToRecordDefinition`.

enhancement

Add `ToRecordDefinition` method in `ClassDefinition`.

enhancement

Add `CatFactory.SqlServer.DatabaseImportSettings` definition in the Core.

enhancement

In order to use `AddColumnForTables` extension method, there is a hack: ```csharp dynamic importBag = new ExpandoObject(); importBag.ExtendedProperties = new List(); db.AddColumnForTables(new Column { Name = "Active", Type = "bit",...

bug