Skip to content

chinyik94/NpgsqlSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NpgsqlSample

Steps to Reproduce

  1. Use PgAdmin to create a new DB with default values
  2. 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;
  3. EF6 Data Model is pre-created, just need to run the program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published