- Use PgAdmin to create a new DB with default values
- Create a new table in the DB:
-- Table: public.ErrorLog -- DROP TABLE IF EXISTS public."ErrorLog"; CREATE TABLE IF NOT EXISTS public."ErrorLog" ( "ErrorLogId" integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ), "ErrorDetails" text COLLATE pg_catalog."default" NOT NULL, "DateCreated" timestamp without time zone NOT NULL, CONSTRAINT "PK_ErrorLog" PRIMARY KEY ("ErrorLogId") ) TABLESPACE pg_default; ALTER TABLE IF EXISTS public."ErrorLog" OWNER to postgres;
- EF6 Data Model is pre-created, just need to run the program.
-
Notifications
You must be signed in to change notification settings - Fork 0
chinyik94/NpgsqlSample
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published