/nf.data-flow

:orange_book: Generate C# code, Sqlite/SqlCipher database from Excel

Primary LanguageC#MIT LicenseMIT

nf.data-flow

flow.png flow.puml

introduce

this is sample dataflow. When I making a game(in unity), I don't like to hard-coding for data class from excel. I'm writing custom class generator, and data exporter for that work with SqlCipher4Unity3D.

Gui

docs/res/DataFlowGUI.png

Cli

$ dotnet-nf-dataflow
dotnet-nf-dataflow 2.0.0
Copyright (C) 2024 dotnet-nf-dataflow

ERROR(S):
  At least one option from group 'out' (out_database, out_csharp) is required.

  --in_paths             (Group: in) .xlsx or directory

  --config               (Group: in) (Default: dataflow.yaml) config file path

  --out_database         (Group: out) database path

  --out_csharp           (Group: out) csharp directory

  --password             (Default: ) db password

  --namespace            (Default: AutoGenerated.DB) namespace

  --template_paths       template paths

  --assemblely           (Default: true) try to generate Assembly even if does not generate database

  --datetime_as_ticks    (Default: true) save datetime as ticks on database

  --help                 Display this help screen.

  --version              Display version information.

sheet

Const

docs/res/sheet_const.png

CONST.cs

Enum

docs/res/sheet_enum.png

E_ENUM.cs

Class

docs/res/sheet_class.png

DCharacter.cs

db

output_db_value.png output_db_scheme.png output.db

etc

$ dotnet --version
8.0.401

Ref