Create a new controller

This commit is contained in:
Astrian Zheng 2023-09-14 16:34:08 +10:00
parent 2c142fd7b4
commit 4de8209a6b
82 changed files with 126243 additions and 64580 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,420 @@

-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
-- --------------------------------------------------
-- Date Created: 09/14/2023 16:21:56
-- Generated from EDMX file: C:\Users\astri\source\repos\FIT5032-Assignment\FIT5032-Assignment\Models\FIT5032-Assignment.edmx
-- --------------------------------------------------
SET QUOTED_IDENTIFIER OFF;
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO
-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[FK__Appointme__patie__5AEE82B9]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__patie__5AEE82B9];
GO
IF OBJECT_ID(N'[dbo].[FK__Appointme__respo__5BE2A6F2]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__respo__5BE2A6F2];
GO
IF OBJECT_ID(N'[dbo].[FK__Credential__user__4BAC3F29]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Credentials] DROP CONSTRAINT [FK__Credential__user__4BAC3F29];
GO
IF OBJECT_ID(N'[dbo].[FK__Doctors__user__5441852A]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Doctors] DROP CONSTRAINT [FK__Doctors__user__5441852A];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__appointm__60A75C0F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__appointm__60A75C0F];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__patient__5EBF139D]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__patient__5EBF139D];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__responsi__5FB337D6]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__responsi__5FB337D6];
GO
IF OBJECT_ID(N'[dbo].[FK__Patients__user__5165187F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Patients] DROP CONSTRAINT [FK__Patients__user__5165187F];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__appoint__6383C8BA]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__appoint__6383C8BA];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__doctor__656C112C]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__doctor__656C112C];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__patient__6477ECF3]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__patient__6477ECF3];
GO
IF OBJECT_ID(N'[dbo].[FK__Sessions__user__4E88ABD4]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Sessions] DROP CONSTRAINT [FK__Sessions__user__4E88ABD4];
GO
IF OBJECT_ID(N'[dbo].[FK__ShareURLs__image__68487DD7]', 'F') IS NOT NULL
ALTER TABLE [dbo].[ShareURLs] DROP CONSTRAINT [FK__ShareURLs__image__68487DD7];
GO
-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[Appointments]', 'U') IS NOT NULL
DROP TABLE [dbo].[Appointments];
GO
IF OBJECT_ID(N'[dbo].[Credentials]', 'U') IS NOT NULL
DROP TABLE [dbo].[Credentials];
GO
IF OBJECT_ID(N'[dbo].[Doctors]', 'U') IS NOT NULL
DROP TABLE [dbo].[Doctors];
GO
IF OBJECT_ID(N'[dbo].[Images]', 'U') IS NOT NULL
DROP TABLE [dbo].[Images];
GO
IF OBJECT_ID(N'[dbo].[Patients]', 'U') IS NOT NULL
DROP TABLE [dbo].[Patients];
GO
IF OBJECT_ID(N'[dbo].[Reviews]', 'U') IS NOT NULL
DROP TABLE [dbo].[Reviews];
GO
IF OBJECT_ID(N'[dbo].[Sessions]', 'U') IS NOT NULL
DROP TABLE [dbo].[Sessions];
GO
IF OBJECT_ID(N'[dbo].[ShareURLs]', 'U') IS NOT NULL
DROP TABLE [dbo].[ShareURLs];
GO
IF OBJECT_ID(N'[dbo].[Users]', 'U') IS NOT NULL
DROP TABLE [dbo].[Users];
GO
-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------
-- Creating table 'Appointments'
CREATE TABLE [dbo].[Appointments] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[createdAt] datetime NULL,
[responsibleBy] varchar(36) NULL,
[appointmentDate] datetime NULL,
[status] int NULL,
[createdBy] int NULL
);
GO
-- Creating table 'Credentials'
CREATE TABLE [dbo].[Credentials] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[provider] int NOT NULL,
[uniqueIdCode] varchar(max) NULL
);
GO
-- Creating table 'Doctors'
CREATE TABLE [dbo].[Doctors] (
[user] varchar(36) NOT NULL,
[bio] varchar(max) NULL
);
GO
-- Creating table 'Images'
CREATE TABLE [dbo].[Images] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[responsibleBy] varchar(36) NULL,
[createdAt] datetime NULL,
[appointment] varchar(36) NULL,
[status] int NULL,
[file] varchar(max) NULL
);
GO
-- Creating table 'Patients'
CREATE TABLE [dbo].[Patients] (
[user] varchar(36) NOT NULL,
[phone] varchar(max) NULL,
[address] varchar(max) NULL,
[notes] varchar(max) NULL
);
GO
-- Creating table 'Reviews'
CREATE TABLE [dbo].[Reviews] (
[appointment] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[doctor] varchar(36) NULL,
[score] int NULL,
[comment] varchar(max) NULL,
[reply] varchar(max) NULL,
[reviewAt] datetime NULL,
[replyAt] datetime NULL
);
GO
-- Creating table 'Sessions'
CREATE TABLE [dbo].[Sessions] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[token] varchar(max) NULL,
[alias] varchar(max) NULL,
[validFrom] datetime NULL,
[validTo] datetime NULL
);
GO
-- Creating table 'ShareURLs'
CREATE TABLE [dbo].[ShareURLs] (
[image] varchar(36) NOT NULL,
[visibility] int NULL,
[slug] varchar(max) NULL,
[status] int NULL
);
GO
-- Creating table 'Users'
CREATE TABLE [dbo].[Users] (
[uuid] varchar(36) NOT NULL,
[displayName] varchar(max) NULL,
[avatar] varchar(max) NULL,
[role] int NULL
);
GO
-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------
-- Creating primary key on [uuid] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [PK_Appointments]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [uuid] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [PK_Credentials]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [PK_Doctors]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [uuid] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [PK_Images]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [PK_Patients]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [PK_Reviews]
PRIMARY KEY CLUSTERED ([appointment] ASC);
GO
-- Creating primary key on [uuid] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [PK_Sessions]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [PK_ShareURLs]
PRIMARY KEY CLUSTERED ([image] ASC);
GO
-- Creating primary key on [uuid] in table 'Users'
ALTER TABLE [dbo].[Users]
ADD CONSTRAINT [PK_Users]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------
-- Creating foreign key on [patient] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__patie__5AEE82B9]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__patie__5AEE82B9'
CREATE INDEX [IX_FK__Appointme__patie__5AEE82B9]
ON [dbo].[Appointments]
([patient]);
GO
-- Creating foreign key on [responsibleBy] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__respo__5BE2A6F2]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__respo__5BE2A6F2'
CREATE INDEX [IX_FK__Appointme__respo__5BE2A6F2]
ON [dbo].[Appointments]
([responsibleBy]);
GO
-- Creating foreign key on [appointment] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__appointm__60A75C0F]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__appointm__60A75C0F'
CREATE INDEX [IX_FK__Images__appointm__60A75C0F]
ON [dbo].[Images]
([appointment]);
GO
-- Creating foreign key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__appoint__6383C8BA]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [FK__Credential__user__4BAC3F29]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Credential__user__4BAC3F29'
CREATE INDEX [IX_FK__Credential__user__4BAC3F29]
ON [dbo].[Credentials]
([user]);
GO
-- Creating foreign key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [FK__Doctors__user__5441852A]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [responsibleBy] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__responsi__5FB337D6]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__responsi__5FB337D6'
CREATE INDEX [IX_FK__Images__responsi__5FB337D6]
ON [dbo].[Images]
([responsibleBy]);
GO
-- Creating foreign key on [doctor] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__doctor__656C112C]
FOREIGN KEY ([doctor])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__doctor__656C112C'
CREATE INDEX [IX_FK__Reviews__doctor__656C112C]
ON [dbo].[Reviews]
([doctor]);
GO
-- Creating foreign key on [patient] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__patient__5EBF139D]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__patient__5EBF139D'
CREATE INDEX [IX_FK__Images__patient__5EBF139D]
ON [dbo].[Images]
([patient]);
GO
-- Creating foreign key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [FK__ShareURLs__image__68487DD7]
FOREIGN KEY ([image])
REFERENCES [dbo].[Images]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [FK__Patients__user__5165187F]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [patient] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__patient__6477ECF3]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__patient__6477ECF3'
CREATE INDEX [IX_FK__Reviews__patient__6477ECF3]
ON [dbo].[Reviews]
([patient]);
GO
-- Creating foreign key on [user] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [FK__Sessions__user__4E88ABD4]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Sessions__user__4E88ABD4'
CREATE INDEX [IX_FK__Sessions__user__4E88ABD4]
ON [dbo].[Sessions]
([user]);
GO
-- --------------------------------------------------
-- Script has ended
-- --------------------------------------------------

View File

@ -0,0 +1,420 @@

-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
-- --------------------------------------------------
-- Date Created: 09/14/2023 16:21:56
-- Generated from EDMX file: C:\Users\astri\source\repos\FIT5032-Assignment\FIT5032-Assignment\Models\FIT5032-Assignment.edmx
-- --------------------------------------------------
SET QUOTED_IDENTIFIER OFF;
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO
-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[FK__Appointme__patie__5AEE82B9]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__patie__5AEE82B9];
GO
IF OBJECT_ID(N'[dbo].[FK__Appointme__respo__5BE2A6F2]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__respo__5BE2A6F2];
GO
IF OBJECT_ID(N'[dbo].[FK__Credential__user__4BAC3F29]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Credentials] DROP CONSTRAINT [FK__Credential__user__4BAC3F29];
GO
IF OBJECT_ID(N'[dbo].[FK__Doctors__user__5441852A]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Doctors] DROP CONSTRAINT [FK__Doctors__user__5441852A];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__appointm__60A75C0F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__appointm__60A75C0F];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__patient__5EBF139D]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__patient__5EBF139D];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__responsi__5FB337D6]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__responsi__5FB337D6];
GO
IF OBJECT_ID(N'[dbo].[FK__Patients__user__5165187F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Patients] DROP CONSTRAINT [FK__Patients__user__5165187F];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__appoint__6383C8BA]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__appoint__6383C8BA];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__doctor__656C112C]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__doctor__656C112C];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__patient__6477ECF3]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__patient__6477ECF3];
GO
IF OBJECT_ID(N'[dbo].[FK__Sessions__user__4E88ABD4]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Sessions] DROP CONSTRAINT [FK__Sessions__user__4E88ABD4];
GO
IF OBJECT_ID(N'[dbo].[FK__ShareURLs__image__68487DD7]', 'F') IS NOT NULL
ALTER TABLE [dbo].[ShareURLs] DROP CONSTRAINT [FK__ShareURLs__image__68487DD7];
GO
-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[Appointments]', 'U') IS NOT NULL
DROP TABLE [dbo].[Appointments];
GO
IF OBJECT_ID(N'[dbo].[Credentials]', 'U') IS NOT NULL
DROP TABLE [dbo].[Credentials];
GO
IF OBJECT_ID(N'[dbo].[Doctors]', 'U') IS NOT NULL
DROP TABLE [dbo].[Doctors];
GO
IF OBJECT_ID(N'[dbo].[Images]', 'U') IS NOT NULL
DROP TABLE [dbo].[Images];
GO
IF OBJECT_ID(N'[dbo].[Patients]', 'U') IS NOT NULL
DROP TABLE [dbo].[Patients];
GO
IF OBJECT_ID(N'[dbo].[Reviews]', 'U') IS NOT NULL
DROP TABLE [dbo].[Reviews];
GO
IF OBJECT_ID(N'[dbo].[Sessions]', 'U') IS NOT NULL
DROP TABLE [dbo].[Sessions];
GO
IF OBJECT_ID(N'[dbo].[ShareURLs]', 'U') IS NOT NULL
DROP TABLE [dbo].[ShareURLs];
GO
IF OBJECT_ID(N'[dbo].[Users]', 'U') IS NOT NULL
DROP TABLE [dbo].[Users];
GO
-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------
-- Creating table 'Appointments'
CREATE TABLE [dbo].[Appointments] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[createdAt] datetime NULL,
[responsibleBy] varchar(36) NULL,
[appointmentDate] datetime NULL,
[status] int NULL,
[createdBy] int NULL
);
GO
-- Creating table 'Credentials'
CREATE TABLE [dbo].[Credentials] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[provider] int NOT NULL,
[uniqueIdCode] varchar(max) NULL
);
GO
-- Creating table 'Doctors'
CREATE TABLE [dbo].[Doctors] (
[user] varchar(36) NOT NULL,
[bio] varchar(max) NULL
);
GO
-- Creating table 'Images'
CREATE TABLE [dbo].[Images] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[responsibleBy] varchar(36) NULL,
[createdAt] datetime NULL,
[appointment] varchar(36) NULL,
[status] int NULL,
[file] varchar(max) NULL
);
GO
-- Creating table 'Patients'
CREATE TABLE [dbo].[Patients] (
[user] varchar(36) NOT NULL,
[phone] varchar(max) NULL,
[address] varchar(max) NULL,
[notes] varchar(max) NULL
);
GO
-- Creating table 'Reviews'
CREATE TABLE [dbo].[Reviews] (
[appointment] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[doctor] varchar(36) NULL,
[score] int NULL,
[comment] varchar(max) NULL,
[reply] varchar(max) NULL,
[reviewAt] datetime NULL,
[replyAt] datetime NULL
);
GO
-- Creating table 'Sessions'
CREATE TABLE [dbo].[Sessions] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[token] varchar(max) NULL,
[alias] varchar(max) NULL,
[validFrom] datetime NULL,
[validTo] datetime NULL
);
GO
-- Creating table 'ShareURLs'
CREATE TABLE [dbo].[ShareURLs] (
[image] varchar(36) NOT NULL,
[visibility] int NULL,
[slug] varchar(max) NULL,
[status] int NULL
);
GO
-- Creating table 'Users'
CREATE TABLE [dbo].[Users] (
[uuid] varchar(36) NOT NULL,
[displayName] varchar(max) NULL,
[avatar] varchar(max) NULL,
[role] int NULL
);
GO
-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------
-- Creating primary key on [uuid] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [PK_Appointments]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [uuid] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [PK_Credentials]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [PK_Doctors]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [uuid] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [PK_Images]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [PK_Patients]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [PK_Reviews]
PRIMARY KEY CLUSTERED ([appointment] ASC);
GO
-- Creating primary key on [uuid] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [PK_Sessions]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [PK_ShareURLs]
PRIMARY KEY CLUSTERED ([image] ASC);
GO
-- Creating primary key on [uuid] in table 'Users'
ALTER TABLE [dbo].[Users]
ADD CONSTRAINT [PK_Users]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------
-- Creating foreign key on [patient] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__patie__5AEE82B9]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__patie__5AEE82B9'
CREATE INDEX [IX_FK__Appointme__patie__5AEE82B9]
ON [dbo].[Appointments]
([patient]);
GO
-- Creating foreign key on [responsibleBy] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__respo__5BE2A6F2]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__respo__5BE2A6F2'
CREATE INDEX [IX_FK__Appointme__respo__5BE2A6F2]
ON [dbo].[Appointments]
([responsibleBy]);
GO
-- Creating foreign key on [appointment] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__appointm__60A75C0F]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__appointm__60A75C0F'
CREATE INDEX [IX_FK__Images__appointm__60A75C0F]
ON [dbo].[Images]
([appointment]);
GO
-- Creating foreign key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__appoint__6383C8BA]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [FK__Credential__user__4BAC3F29]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Credential__user__4BAC3F29'
CREATE INDEX [IX_FK__Credential__user__4BAC3F29]
ON [dbo].[Credentials]
([user]);
GO
-- Creating foreign key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [FK__Doctors__user__5441852A]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [responsibleBy] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__responsi__5FB337D6]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__responsi__5FB337D6'
CREATE INDEX [IX_FK__Images__responsi__5FB337D6]
ON [dbo].[Images]
([responsibleBy]);
GO
-- Creating foreign key on [doctor] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__doctor__656C112C]
FOREIGN KEY ([doctor])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__doctor__656C112C'
CREATE INDEX [IX_FK__Reviews__doctor__656C112C]
ON [dbo].[Reviews]
([doctor]);
GO
-- Creating foreign key on [patient] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__patient__5EBF139D]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__patient__5EBF139D'
CREATE INDEX [IX_FK__Images__patient__5EBF139D]
ON [dbo].[Images]
([patient]);
GO
-- Creating foreign key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [FK__ShareURLs__image__68487DD7]
FOREIGN KEY ([image])
REFERENCES [dbo].[Images]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [FK__Patients__user__5165187F]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [patient] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__patient__6477ECF3]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__patient__6477ECF3'
CREATE INDEX [IX_FK__Reviews__patient__6477ECF3]
ON [dbo].[Reviews]
([patient]);
GO
-- Creating foreign key on [user] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [FK__Sessions__user__4E88ABD4]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Sessions__user__4E88ABD4'
CREATE INDEX [IX_FK__Sessions__user__4E88ABD4]
ON [dbo].[Sessions]
([user]);
GO
-- --------------------------------------------------
-- Script has ended
-- --------------------------------------------------

View File

@ -0,0 +1,136 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using FIT5032_Assignment.Models;
namespace FIT5032_Assignment.Controllers
{
public class UsersController : Controller
{
private Database1Entities db = new Database1Entities();
// GET: Users
public ActionResult Index()
{
var users = db.Users.Include(u => u.Doctors).Include(u => u.Patients);
return View(users.ToList());
}
// GET: Users/Details/5
public ActionResult Details(string id)
{
if (id == null)
{
return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
}
Users users = db.Users.Find(id);
if (users == null)
{
return HttpNotFound();
}
return View(users);
}
// GET: Users/Create
public ActionResult Create()
{
ViewBag.uuid = new SelectList(db.Doctors, "user", "bio");
ViewBag.uuid = new SelectList(db.Patients, "user", "phone");
return View();
}
// POST: Users/Create
// To protect from overposting attacks, enable the specific properties you want to bind to, for
// more details see https://go.microsoft.com/fwlink/?LinkId=317598.
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult Create([Bind(Include = "uuid,displayName,avatar,role")] Users users)
{
if (ModelState.IsValid)
{
db.Users.Add(users);
db.SaveChanges();
return RedirectToAction("Index");
}
ViewBag.uuid = new SelectList(db.Doctors, "user", "bio", users.uuid);
ViewBag.uuid = new SelectList(db.Patients, "user", "phone", users.uuid);
return View(users);
}
// GET: Users/Edit/5
public ActionResult Edit(string id)
{
if (id == null)
{
return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
}
Users users = db.Users.Find(id);
if (users == null)
{
return HttpNotFound();
}
ViewBag.uuid = new SelectList(db.Doctors, "user", "bio", users.uuid);
ViewBag.uuid = new SelectList(db.Patients, "user", "phone", users.uuid);
return View(users);
}
// POST: Users/Edit/5
// To protect from overposting attacks, enable the specific properties you want to bind to, for
// more details see https://go.microsoft.com/fwlink/?LinkId=317598.
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult Edit([Bind(Include = "uuid,displayName,avatar,role")] Users users)
{
if (ModelState.IsValid)
{
db.Entry(users).State = EntityState.Modified;
db.SaveChanges();
return RedirectToAction("Index");
}
ViewBag.uuid = new SelectList(db.Doctors, "user", "bio", users.uuid);
ViewBag.uuid = new SelectList(db.Patients, "user", "phone", users.uuid);
return View(users);
}
// GET: Users/Delete/5
public ActionResult Delete(string id)
{
if (id == null)
{
return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
}
Users users = db.Users.Find(id);
if (users == null)
{
return HttpNotFound();
}
return View(users);
}
// POST: Users/Delete/5
[HttpPost, ActionName("Delete")]
[ValidateAntiForgeryToken]
public ActionResult DeleteConfirmed(string id)
{
Users users = db.Users.Find(id);
db.Users.Remove(users);
db.SaveChanges();
return RedirectToAction("Index");
}
protected override void Dispose(bool disposing)
{
if (disposing)
{
db.Dispose();
}
base.Dispose(disposing);
}
}
}

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" /> <Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
@ -46,10 +47,10 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> <HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
</Reference> </Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> <HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="System" /> <Reference Include="System" />
@ -129,6 +130,7 @@
<Compile Include="App_Start\FilterConfig.cs" /> <Compile Include="App_Start\FilterConfig.cs" />
<Compile Include="App_Start\RouteConfig.cs" /> <Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Controllers\HomeController.cs" /> <Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\UsersController.cs" />
<Compile Include="Global.asax.cs"> <Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon> <DependentUpon>Global.asax</DependentUpon>
</Compile> </Compile>
@ -177,6 +179,10 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="App_Data\FIT5032_Assignment.mdf" />
<Content Include="App_Data\FIT5032_Assignment_log.ldf">
<DependentUpon>FIT5032_Assignment.mdf</DependentUpon>
</Content>
<Content Include="Content\bootstrap-grid.css" /> <Content Include="Content\bootstrap-grid.css" />
<Content Include="Content\bootstrap-grid.min.css" /> <Content Include="Content\bootstrap-grid.min.css" />
<Content Include="Content\bootstrap-grid.rtl.css" /> <Content Include="Content\bootstrap-grid.rtl.css" />
@ -201,6 +207,7 @@
<LastGenOutput>FIT5032-Assignment.Context.cs</LastGenOutput> <LastGenOutput>FIT5032-Assignment.Context.cs</LastGenOutput>
<DependentUpon>FIT5032-Assignment.edmx</DependentUpon> <DependentUpon>FIT5032-Assignment.edmx</DependentUpon>
</Content> </Content>
<Content Include="Models\FIT5032-Assignment.edmx.sql" />
<Content Include="Models\FIT5032-Assignment.tt"> <Content Include="Models\FIT5032-Assignment.tt">
<Generator>TextTemplatingFileGenerator</Generator> <Generator>TextTemplatingFileGenerator</Generator>
<DependentUpon>FIT5032-Assignment.edmx</DependentUpon> <DependentUpon>FIT5032-Assignment.edmx</DependentUpon>
@ -244,10 +251,13 @@
<Content Include="Views\Home\About.cshtml" /> <Content Include="Views\Home\About.cshtml" />
<Content Include="Views\Home\Contact.cshtml" /> <Content Include="Views\Home\Contact.cshtml" />
<Content Include="Views\Home\Index.cshtml" /> <Content Include="Views\Home\Index.cshtml" />
<Content Include="Views\Users\Create.cshtml" />
<Content Include="Views\Users\Delete.cshtml" />
<Content Include="Views\Users\Details.cshtml" />
<Content Include="Views\Users\Edit.cshtml" />
<Content Include="Views\Users\Index.cshtml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup />
<Folder Include="App_Data\" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Content\bootstrap.rtl.min.css.map" /> <Content Include="Content\bootstrap.rtl.min.css.map" />
<Content Include="Content\bootstrap.rtl.css.map" /> <Content Include="Content\bootstrap.rtl.css.map" />
@ -311,7 +321,10 @@
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" /> <Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" />
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
</Target> </Target>
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View File

@ -9,6 +9,16 @@
<IISExpressUseClassicPipelineMode /> <IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile /> <UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Controller_SelectedScaffolderID>MvcControllerWithContextScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
<WebStackScaffolding_LayoutPageFile>~/Views/Shared/_Layout.cshtml</WebStackScaffolding_LayoutPageFile>
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>True</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
<WebStackScaffolding_DbContextTypeFullName>FIT5032_Assignment.Models.Database1Entities</WebStackScaffolding_DbContextTypeFullName>
<WebStackScaffolding_IsViewGenerationSelected>True</WebStackScaffolding_IsViewGenerationSelected>
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
</PropertyGroup> </PropertyGroup>
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>

View File

@ -4,101 +4,164 @@
<edmx:Runtime> <edmx:Runtime>
<!-- SSDL content --> <!-- SSDL content -->
<edmx:StorageModels> <edmx:StorageModels>
<Schema Namespace="FIT5032Assignment.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl"> <Schema Namespace="FIT5032Assignment.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2012" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<EntityContainer Name="FIT5032AssignmentStoreContainer">
<EntitySet Name="Appointments" EntityType="FIT5032Assignment.Store.Appointments" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Credentials" EntityType="FIT5032Assignment.Store.Credentials" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Doctors" EntityType="FIT5032Assignment.Store.Doctors" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Images" EntityType="FIT5032Assignment.Store.Images" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Patients" EntityType="FIT5032Assignment.Store.Patients" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Reviews" EntityType="FIT5032Assignment.Store.Reviews" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Sessions" EntityType="FIT5032Assignment.Store.Sessions" store:Type="Tables" Schema="dbo" />
<EntitySet Name="ShareURLs" EntityType="FIT5032Assignment.Store.ShareURLs" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Users" EntityType="FIT5032Assignment.Store.Users" store:Type="Tables" Schema="dbo" />
<AssociationSet Name="FK__Appointme__patie__5AEE82B9" Association="FIT5032Assignment.Store.FK__Appointme__patie__5AEE82B9">
<End Role="Patients" EntitySet="Patients" />
<End Role="Appointments" EntitySet="Appointments" />
</AssociationSet>
<AssociationSet Name="FK__Appointme__respo__5BE2A6F2" Association="FIT5032Assignment.Store.FK__Appointme__respo__5BE2A6F2">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Appointments" EntitySet="Appointments" />
</AssociationSet>
<AssociationSet Name="FK__Images__appointm__60A75C0F" Association="FIT5032Assignment.Store.FK__Images__appointm__60A75C0F">
<End Role="Appointments" EntitySet="Appointments" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__appoint__6383C8BA" Association="FIT5032Assignment.Store.FK__Reviews__appoint__6383C8BA">
<End Role="Appointments" EntitySet="Appointments" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Credential__user__4BAC3F29" Association="FIT5032Assignment.Store.FK__Credential__user__4BAC3F29">
<End Role="Users" EntitySet="Users" />
<End Role="Credentials" EntitySet="Credentials" />
</AssociationSet>
<AssociationSet Name="FK__Doctors__user__5441852A" Association="FIT5032Assignment.Store.FK__Doctors__user__5441852A">
<End Role="Users" EntitySet="Users" />
<End Role="Doctors" EntitySet="Doctors" />
</AssociationSet>
<AssociationSet Name="FK__Images__responsi__5FB337D6" Association="FIT5032Assignment.Store.FK__Images__responsi__5FB337D6">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__doctor__656C112C" Association="FIT5032Assignment.Store.FK__Reviews__doctor__656C112C">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Images__patient__5EBF139D" Association="FIT5032Assignment.Store.FK__Images__patient__5EBF139D">
<End Role="Patients" EntitySet="Patients" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__ShareURLs__image__68487DD7" Association="FIT5032Assignment.Store.FK__ShareURLs__image__68487DD7">
<End Role="Images" EntitySet="Images" />
<End Role="ShareURLs" EntitySet="ShareURLs" />
</AssociationSet>
<AssociationSet Name="FK__Patients__user__5165187F" Association="FIT5032Assignment.Store.FK__Patients__user__5165187F">
<End Role="Users" EntitySet="Users" />
<End Role="Patients" EntitySet="Patients" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__patient__6477ECF3" Association="FIT5032Assignment.Store.FK__Reviews__patient__6477ECF3">
<End Role="Patients" EntitySet="Patients" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Sessions__user__4E88ABD4" Association="FIT5032Assignment.Store.FK__Sessions__user__4E88ABD4">
<End Role="Users" EntitySet="Users" />
<End Role="Sessions" EntitySet="Sessions" />
</AssociationSet>
</EntityContainer>
<EntityType Name="Appointments"> <EntityType Name="Appointments">
<Key> <Key>
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
</Key> </Key>
<Property Name="uuid" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="uuid" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="patient" Type="varchar" MaxLength="36" /> <Property Name="patient" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="createdAt" Type="datetime" /> <Property Name="createdAt" Type="datetime" Nullable="true" />
<Property Name="responsibleBy" Type="varchar" MaxLength="36" /> <Property Name="responsibleBy" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="appointmentDate" Type="datetime" /> <Property Name="appointmentDate" Type="datetime" Nullable="true" />
<Property Name="status" Type="int" /> <Property Name="status" Type="int" Nullable="true" />
<Property Name="createdBy" Type="int" /> <Property Name="createdBy" Type="int" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Credentials"> <EntityType Name="Credentials">
<Key> <Key>
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
</Key> </Key>
<Property Name="uuid" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="uuid" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="user" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="user" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="provider" Type="int" Nullable="false" /> <Property Name="provider" Type="int" Nullable="false" />
<Property Name="uniqueIdCode" Type="varchar(max)" /> <Property Name="uniqueIdCode" Type="varchar(max)" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Doctors"> <EntityType Name="Doctors">
<Key> <Key>
<PropertyRef Name="user" /> <PropertyRef Name="user" />
</Key> </Key>
<Property Name="user" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="user" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="bio" Type="varchar(max)" /> <Property Name="bio" Type="varchar(max)" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Images"> <EntityType Name="Images">
<Key> <Key>
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
</Key> </Key>
<Property Name="uuid" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="uuid" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="patient" Type="varchar" MaxLength="36" /> <Property Name="patient" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="responsibleBy" Type="varchar" MaxLength="36" /> <Property Name="responsibleBy" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="createdAt" Type="datetime" /> <Property Name="createdAt" Type="datetime" Nullable="true" />
<Property Name="appointment" Type="varchar" MaxLength="36" /> <Property Name="appointment" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="status" Type="int" /> <Property Name="status" Type="int" Nullable="true" />
<Property Name="file" Type="varchar(max)" /> <Property Name="file" Type="varchar(max)" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Patients"> <EntityType Name="Patients">
<Key> <Key>
<PropertyRef Name="user" /> <PropertyRef Name="user" />
</Key> </Key>
<Property Name="user" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="user" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="phone" Type="varchar(max)" /> <Property Name="phone" Type="varchar(max)" Nullable="true" />
<Property Name="address" Type="varchar(max)" /> <Property Name="address" Type="varchar(max)" Nullable="true" />
<Property Name="notes" Type="varchar(max)" /> <Property Name="notes" Type="varchar(max)" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Reviews"> <EntityType Name="Reviews">
<Key> <Key>
<PropertyRef Name="appointment" /> <PropertyRef Name="appointment" />
</Key> </Key>
<Property Name="appointment" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="appointment" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="patient" Type="varchar" MaxLength="36" /> <Property Name="patient" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="doctor" Type="varchar" MaxLength="36" /> <Property Name="doctor" Type="varchar" Nullable="true" MaxLength="36" />
<Property Name="score" Type="int" /> <Property Name="score" Type="int" Nullable="true" />
<Property Name="comment" Type="varchar(max)" /> <Property Name="comment" Type="varchar(max)" Nullable="true" />
<Property Name="reply" Type="varchar(max)" /> <Property Name="reply" Type="varchar(max)" Nullable="true" />
<Property Name="reviewAt" Type="datetime" /> <Property Name="reviewAt" Type="datetime" Nullable="true" />
<Property Name="replyAt" Type="datetime" /> <Property Name="replyAt" Type="datetime" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Sessions"> <EntityType Name="Sessions">
<Key> <Key>
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
</Key> </Key>
<Property Name="uuid" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="uuid" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="user" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="user" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="token" Type="varchar(max)" /> <Property Name="token" Type="varchar(max)" Nullable="true" />
<Property Name="alias" Type="varchar(max)" /> <Property Name="alias" Type="varchar(max)" Nullable="true" />
<Property Name="validFrom" Type="datetime" /> <Property Name="validFrom" Type="datetime" Nullable="true" />
<Property Name="validTo" Type="datetime" /> <Property Name="validTo" Type="datetime" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="ShareURLs"> <EntityType Name="ShareURLs">
<Key> <Key>
<PropertyRef Name="image" /> <PropertyRef Name="image" />
</Key> </Key>
<Property Name="image" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="image" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="visibility" Type="int" /> <Property Name="visibility" Type="int" Nullable="true" />
<Property Name="slug" Type="varchar(max)" /> <Property Name="slug" Type="varchar(max)" Nullable="true" />
<Property Name="status" Type="int" /> <Property Name="status" Type="int" Nullable="true" />
</EntityType> </EntityType>
<EntityType Name="Users"> <EntityType Name="Users">
<Key> <Key>
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
</Key> </Key>
<Property Name="uuid" Type="varchar" MaxLength="36" Nullable="false" /> <Property Name="uuid" Type="varchar" Nullable="false" MaxLength="36" />
<Property Name="displayName" Type="varchar(max)" /> <Property Name="displayName" Type="varchar(max)" Nullable="true" />
<Property Name="avatar" Type="varchar(max)" /> <Property Name="avatar" Type="varchar(max)" Nullable="true" />
<Property Name="role" Type="int" /> <Property Name="role" Type="int" Nullable="true" />
</EntityType> </EntityType>
<Association Name="FK__Appointme__patie__5AEE82B9"> <Association Name="FK__Appointme__patie__5AEE82B9">
<End Role="Patients" Type="Self.Patients" Multiplicity="0..1" /> <End Role="Patients" Type="FIT5032Assignment.Store.Patients" Multiplicity="0..1" />
<End Role="Appointments" Type="Self.Appointments" Multiplicity="*" /> <End Role="Appointments" Type="FIT5032Assignment.Store.Appointments" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Patients"> <Principal Role="Patients">
<PropertyRef Name="user" /> <PropertyRef Name="user" />
@ -109,8 +172,8 @@
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Appointme__respo__5BE2A6F2"> <Association Name="FK__Appointme__respo__5BE2A6F2">
<End Role="Doctors" Type="Self.Doctors" Multiplicity="0..1" /> <End Role="Doctors" Type="FIT5032Assignment.Store.Doctors" Multiplicity="0..1" />
<End Role="Appointments" Type="Self.Appointments" Multiplicity="*" /> <End Role="Appointments" Type="FIT5032Assignment.Store.Appointments" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Doctors"> <Principal Role="Doctors">
<PropertyRef Name="user" /> <PropertyRef Name="user" />
@ -120,9 +183,33 @@
</Dependent> </Dependent>
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Images__appointm__60A75C0F">
<End Role="Appointments" Type="FIT5032Assignment.Store.Appointments" Multiplicity="0..1" />
<End Role="Images" Type="FIT5032Assignment.Store.Images" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Appointments">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Images">
<PropertyRef Name="appointment" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Reviews__appoint__6383C8BA">
<End Role="Appointments" Type="FIT5032Assignment.Store.Appointments" Multiplicity="1" />
<End Role="Reviews" Type="FIT5032Assignment.Store.Reviews" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Appointments">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Reviews">
<PropertyRef Name="appointment" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Credential__user__4BAC3F29"> <Association Name="FK__Credential__user__4BAC3F29">
<End Role="Users" Type="Self.Users" Multiplicity="1" /> <End Role="Users" Type="FIT5032Assignment.Store.Users" Multiplicity="1" />
<End Role="Credentials" Type="Self.Credentials" Multiplicity="*" /> <End Role="Credentials" Type="FIT5032Assignment.Store.Credentials" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Users"> <Principal Role="Users">
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
@ -133,8 +220,8 @@
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Doctors__user__5441852A"> <Association Name="FK__Doctors__user__5441852A">
<End Role="Users" Type="Self.Users" Multiplicity="1" /> <End Role="Users" Type="FIT5032Assignment.Store.Users" Multiplicity="1" />
<End Role="Doctors" Type="Self.Doctors" Multiplicity="0..1" /> <End Role="Doctors" Type="FIT5032Assignment.Store.Doctors" Multiplicity="0..1" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Users"> <Principal Role="Users">
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
@ -144,33 +231,9 @@
</Dependent> </Dependent>
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Images__appointm__60A75C0F">
<End Role="Appointments" Type="Self.Appointments" Multiplicity="0..1" />
<End Role="Images" Type="Self.Images" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Appointments">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Images">
<PropertyRef Name="appointment" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Images__patient__5EBF139D">
<End Role="Patients" Type="Self.Patients" Multiplicity="0..1" />
<End Role="Images" Type="Self.Images" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Patients">
<PropertyRef Name="user" />
</Principal>
<Dependent Role="Images">
<PropertyRef Name="patient" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Images__responsi__5FB337D6"> <Association Name="FK__Images__responsi__5FB337D6">
<End Role="Doctors" Type="Self.Doctors" Multiplicity="0..1" /> <End Role="Doctors" Type="FIT5032Assignment.Store.Doctors" Multiplicity="0..1" />
<End Role="Images" Type="Self.Images" Multiplicity="*" /> <End Role="Images" Type="FIT5032Assignment.Store.Images" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Doctors"> <Principal Role="Doctors">
<PropertyRef Name="user" /> <PropertyRef Name="user" />
@ -180,33 +243,9 @@
</Dependent> </Dependent>
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Patients__user__5165187F">
<End Role="Users" Type="Self.Users" Multiplicity="1" />
<End Role="Patients" Type="Self.Patients" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Users">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Patients">
<PropertyRef Name="user" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Reviews__appoint__6383C8BA">
<End Role="Appointments" Type="Self.Appointments" Multiplicity="1" />
<End Role="Reviews" Type="Self.Reviews" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Appointments">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Reviews">
<PropertyRef Name="appointment" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Reviews__doctor__656C112C"> <Association Name="FK__Reviews__doctor__656C112C">
<End Role="Doctors" Type="Self.Doctors" Multiplicity="0..1" /> <End Role="Doctors" Type="FIT5032Assignment.Store.Doctors" Multiplicity="0..1" />
<End Role="Reviews" Type="Self.Reviews" Multiplicity="*" /> <End Role="Reviews" Type="FIT5032Assignment.Store.Reviews" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Doctors"> <Principal Role="Doctors">
<PropertyRef Name="user" /> <PropertyRef Name="user" />
@ -216,9 +255,45 @@
</Dependent> </Dependent>
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Images__patient__5EBF139D">
<End Role="Patients" Type="FIT5032Assignment.Store.Patients" Multiplicity="0..1" />
<End Role="Images" Type="FIT5032Assignment.Store.Images" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Patients">
<PropertyRef Name="user" />
</Principal>
<Dependent Role="Images">
<PropertyRef Name="patient" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__ShareURLs__image__68487DD7">
<End Role="Images" Type="FIT5032Assignment.Store.Images" Multiplicity="1" />
<End Role="ShareURLs" Type="FIT5032Assignment.Store.ShareURLs" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Images">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="ShareURLs">
<PropertyRef Name="image" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Patients__user__5165187F">
<End Role="Users" Type="FIT5032Assignment.Store.Users" Multiplicity="1" />
<End Role="Patients" Type="FIT5032Assignment.Store.Patients" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Users">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="Patients">
<PropertyRef Name="user" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK__Reviews__patient__6477ECF3"> <Association Name="FK__Reviews__patient__6477ECF3">
<End Role="Patients" Type="Self.Patients" Multiplicity="0..1" /> <End Role="Patients" Type="FIT5032Assignment.Store.Patients" Multiplicity="0..1" />
<End Role="Reviews" Type="Self.Reviews" Multiplicity="*" /> <End Role="Reviews" Type="FIT5032Assignment.Store.Reviews" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Patients"> <Principal Role="Patients">
<PropertyRef Name="user" /> <PropertyRef Name="user" />
@ -229,8 +304,8 @@
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__Sessions__user__4E88ABD4"> <Association Name="FK__Sessions__user__4E88ABD4">
<End Role="Users" Type="Self.Users" Multiplicity="1" /> <End Role="Users" Type="FIT5032Assignment.Store.Users" Multiplicity="1" />
<End Role="Sessions" Type="Self.Sessions" Multiplicity="*" /> <End Role="Sessions" Type="FIT5032Assignment.Store.Sessions" Multiplicity="*" />
<ReferentialConstraint> <ReferentialConstraint>
<Principal Role="Users"> <Principal Role="Users">
<PropertyRef Name="uuid" /> <PropertyRef Name="uuid" />
@ -240,83 +315,7 @@
</Dependent> </Dependent>
</ReferentialConstraint> </ReferentialConstraint>
</Association> </Association>
<Association Name="FK__ShareURLs__image__68487DD7"> </Schema></edmx:StorageModels>
<End Role="Images" Type="Self.Images" Multiplicity="1" />
<End Role="ShareURLs" Type="Self.ShareURLs" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="Images">
<PropertyRef Name="uuid" />
</Principal>
<Dependent Role="ShareURLs">
<PropertyRef Name="image" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="FIT5032AssignmentStoreContainer">
<EntitySet Name="Appointments" EntityType="Self.Appointments" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Credentials" EntityType="Self.Credentials" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Doctors" EntityType="Self.Doctors" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Images" EntityType="Self.Images" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Patients" EntityType="Self.Patients" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Reviews" EntityType="Self.Reviews" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Sessions" EntityType="Self.Sessions" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ShareURLs" EntityType="Self.ShareURLs" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
<AssociationSet Name="FK__Appointme__patie__5AEE82B9" Association="Self.FK__Appointme__patie__5AEE82B9">
<End Role="Patients" EntitySet="Patients" />
<End Role="Appointments" EntitySet="Appointments" />
</AssociationSet>
<AssociationSet Name="FK__Appointme__respo__5BE2A6F2" Association="Self.FK__Appointme__respo__5BE2A6F2">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Appointments" EntitySet="Appointments" />
</AssociationSet>
<AssociationSet Name="FK__Credential__user__4BAC3F29" Association="Self.FK__Credential__user__4BAC3F29">
<End Role="Users" EntitySet="Users" />
<End Role="Credentials" EntitySet="Credentials" />
</AssociationSet>
<AssociationSet Name="FK__Doctors__user__5441852A" Association="Self.FK__Doctors__user__5441852A">
<End Role="Users" EntitySet="Users" />
<End Role="Doctors" EntitySet="Doctors" />
</AssociationSet>
<AssociationSet Name="FK__Images__appointm__60A75C0F" Association="Self.FK__Images__appointm__60A75C0F">
<End Role="Appointments" EntitySet="Appointments" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__Images__patient__5EBF139D" Association="Self.FK__Images__patient__5EBF139D">
<End Role="Patients" EntitySet="Patients" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__Images__responsi__5FB337D6" Association="Self.FK__Images__responsi__5FB337D6">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Images" EntitySet="Images" />
</AssociationSet>
<AssociationSet Name="FK__Patients__user__5165187F" Association="Self.FK__Patients__user__5165187F">
<End Role="Users" EntitySet="Users" />
<End Role="Patients" EntitySet="Patients" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__appoint__6383C8BA" Association="Self.FK__Reviews__appoint__6383C8BA">
<End Role="Appointments" EntitySet="Appointments" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__doctor__656C112C" Association="Self.FK__Reviews__doctor__656C112C">
<End Role="Doctors" EntitySet="Doctors" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Reviews__patient__6477ECF3" Association="Self.FK__Reviews__patient__6477ECF3">
<End Role="Patients" EntitySet="Patients" />
<End Role="Reviews" EntitySet="Reviews" />
</AssociationSet>
<AssociationSet Name="FK__Sessions__user__4E88ABD4" Association="Self.FK__Sessions__user__4E88ABD4">
<End Role="Users" EntitySet="Users" />
<End Role="Sessions" EntitySet="Sessions" />
</AssociationSet>
<AssociationSet Name="FK__ShareURLs__image__68487DD7" Association="Self.FK__ShareURLs__image__68487DD7">
<End Role="Images" EntitySet="Images" />
<End Role="ShareURLs" EntitySet="ShareURLs" />
</AssociationSet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content --> <!-- CSDL content -->
<edmx:ConceptualModels> <edmx:ConceptualModels>
<Schema Namespace="FIT5032Assignment" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm"> <Schema Namespace="FIT5032Assignment" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
@ -663,7 +662,7 @@
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs"> <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
<EntityContainerMapping StorageEntityContainer="FIT5032AssignmentStoreContainer" CdmEntityContainer="Database1Entities"> <EntityContainerMapping StorageEntityContainer="FIT5032AssignmentStoreContainer" CdmEntityContainer="Database1Entities">
<EntitySetMapping Name="Appointments"> <EntitySetMapping Name="Appointments">
<EntityTypeMapping TypeName="FIT5032Assignment.Appointments"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Appointments)">
<MappingFragment StoreEntitySet="Appointments"> <MappingFragment StoreEntitySet="Appointments">
<ScalarProperty Name="uuid" ColumnName="uuid" /> <ScalarProperty Name="uuid" ColumnName="uuid" />
<ScalarProperty Name="patient" ColumnName="patient" /> <ScalarProperty Name="patient" ColumnName="patient" />
@ -676,7 +675,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Credentials"> <EntitySetMapping Name="Credentials">
<EntityTypeMapping TypeName="FIT5032Assignment.Credentials"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Credentials)">
<MappingFragment StoreEntitySet="Credentials"> <MappingFragment StoreEntitySet="Credentials">
<ScalarProperty Name="uuid" ColumnName="uuid" /> <ScalarProperty Name="uuid" ColumnName="uuid" />
<ScalarProperty Name="user" ColumnName="user" /> <ScalarProperty Name="user" ColumnName="user" />
@ -686,7 +685,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Doctors"> <EntitySetMapping Name="Doctors">
<EntityTypeMapping TypeName="FIT5032Assignment.Doctors"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Doctors)">
<MappingFragment StoreEntitySet="Doctors"> <MappingFragment StoreEntitySet="Doctors">
<ScalarProperty Name="user" ColumnName="user" /> <ScalarProperty Name="user" ColumnName="user" />
<ScalarProperty Name="bio" ColumnName="bio" /> <ScalarProperty Name="bio" ColumnName="bio" />
@ -694,7 +693,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Images"> <EntitySetMapping Name="Images">
<EntityTypeMapping TypeName="FIT5032Assignment.Images"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Images)">
<MappingFragment StoreEntitySet="Images"> <MappingFragment StoreEntitySet="Images">
<ScalarProperty Name="uuid" ColumnName="uuid" /> <ScalarProperty Name="uuid" ColumnName="uuid" />
<ScalarProperty Name="patient" ColumnName="patient" /> <ScalarProperty Name="patient" ColumnName="patient" />
@ -707,7 +706,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Patients"> <EntitySetMapping Name="Patients">
<EntityTypeMapping TypeName="FIT5032Assignment.Patients"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Patients)">
<MappingFragment StoreEntitySet="Patients"> <MappingFragment StoreEntitySet="Patients">
<ScalarProperty Name="user" ColumnName="user" /> <ScalarProperty Name="user" ColumnName="user" />
<ScalarProperty Name="phone" ColumnName="phone" /> <ScalarProperty Name="phone" ColumnName="phone" />
@ -717,7 +716,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Reviews"> <EntitySetMapping Name="Reviews">
<EntityTypeMapping TypeName="FIT5032Assignment.Reviews"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Reviews)">
<MappingFragment StoreEntitySet="Reviews"> <MappingFragment StoreEntitySet="Reviews">
<ScalarProperty Name="appointment" ColumnName="appointment" /> <ScalarProperty Name="appointment" ColumnName="appointment" />
<ScalarProperty Name="patient" ColumnName="patient" /> <ScalarProperty Name="patient" ColumnName="patient" />
@ -731,7 +730,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Sessions"> <EntitySetMapping Name="Sessions">
<EntityTypeMapping TypeName="FIT5032Assignment.Sessions"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Sessions)">
<MappingFragment StoreEntitySet="Sessions"> <MappingFragment StoreEntitySet="Sessions">
<ScalarProperty Name="uuid" ColumnName="uuid" /> <ScalarProperty Name="uuid" ColumnName="uuid" />
<ScalarProperty Name="user" ColumnName="user" /> <ScalarProperty Name="user" ColumnName="user" />
@ -743,7 +742,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="ShareURLs"> <EntitySetMapping Name="ShareURLs">
<EntityTypeMapping TypeName="FIT5032Assignment.ShareURLs"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.ShareURLs)">
<MappingFragment StoreEntitySet="ShareURLs"> <MappingFragment StoreEntitySet="ShareURLs">
<ScalarProperty Name="image" ColumnName="image" /> <ScalarProperty Name="image" ColumnName="image" />
<ScalarProperty Name="visibility" ColumnName="visibility" /> <ScalarProperty Name="visibility" ColumnName="visibility" />
@ -753,7 +752,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="Users"> <EntitySetMapping Name="Users">
<EntityTypeMapping TypeName="FIT5032Assignment.Users"> <EntityTypeMapping TypeName="IsTypeOf(FIT5032Assignment.Users)">
<MappingFragment StoreEntitySet="Users"> <MappingFragment StoreEntitySet="Users">
<ScalarProperty Name="uuid" ColumnName="uuid" /> <ScalarProperty Name="uuid" ColumnName="uuid" />
<ScalarProperty Name="displayName" ColumnName="displayName" /> <ScalarProperty Name="displayName" ColumnName="displayName" />
@ -763,8 +762,7 @@
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
</EntityContainerMapping> </EntityContainerMapping>
</Mapping> </Mapping></edmx:Mappings>
</edmx:Mappings>
</edmx:Runtime> </edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) --> <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx"> <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
@ -778,7 +776,7 @@
<DesignerProperty Name="ValidateOnBuild" Value="true" /> <DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="false" /> <DesignerProperty Name="EnablePluralization" Value="false" />
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" /> <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
<DesignerProperty Name="UseLegacyProvider" Value="false" /> <DesignerProperty Name="UseLegacyProvider" Value="False" />
<DesignerProperty Name="CodeGenerationStrategy" Value="None" /> <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
</DesignerInfoPropertySet> </DesignerInfoPropertySet>
</Options> </Options>

View File

@ -0,0 +1,422 @@
-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
-- --------------------------------------------------
-- Date Created: 09/14/2023 16:21:56
-- Generated from EDMX file: C:\Users\astri\source\repos\FIT5032-Assignment\FIT5032-Assignment\Models\FIT5032-Assignment.edmx
-- --------------------------------------------------
SET QUOTED_IDENTIFIER OFF;
GO
USE [Database1];
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO
-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[FK__Appointme__patie__5AEE82B9]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__patie__5AEE82B9];
GO
IF OBJECT_ID(N'[dbo].[FK__Appointme__respo__5BE2A6F2]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Appointments] DROP CONSTRAINT [FK__Appointme__respo__5BE2A6F2];
GO
IF OBJECT_ID(N'[dbo].[FK__Credential__user__4BAC3F29]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Credentials] DROP CONSTRAINT [FK__Credential__user__4BAC3F29];
GO
IF OBJECT_ID(N'[dbo].[FK__Doctors__user__5441852A]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Doctors] DROP CONSTRAINT [FK__Doctors__user__5441852A];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__appointm__60A75C0F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__appointm__60A75C0F];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__patient__5EBF139D]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__patient__5EBF139D];
GO
IF OBJECT_ID(N'[dbo].[FK__Images__responsi__5FB337D6]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Images] DROP CONSTRAINT [FK__Images__responsi__5FB337D6];
GO
IF OBJECT_ID(N'[dbo].[FK__Patients__user__5165187F]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Patients] DROP CONSTRAINT [FK__Patients__user__5165187F];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__appoint__6383C8BA]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__appoint__6383C8BA];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__doctor__656C112C]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__doctor__656C112C];
GO
IF OBJECT_ID(N'[dbo].[FK__Reviews__patient__6477ECF3]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Reviews] DROP CONSTRAINT [FK__Reviews__patient__6477ECF3];
GO
IF OBJECT_ID(N'[dbo].[FK__Sessions__user__4E88ABD4]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Sessions] DROP CONSTRAINT [FK__Sessions__user__4E88ABD4];
GO
IF OBJECT_ID(N'[dbo].[FK__ShareURLs__image__68487DD7]', 'F') IS NOT NULL
ALTER TABLE [dbo].[ShareURLs] DROP CONSTRAINT [FK__ShareURLs__image__68487DD7];
GO
-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[Appointments]', 'U') IS NOT NULL
DROP TABLE [dbo].[Appointments];
GO
IF OBJECT_ID(N'[dbo].[Credentials]', 'U') IS NOT NULL
DROP TABLE [dbo].[Credentials];
GO
IF OBJECT_ID(N'[dbo].[Doctors]', 'U') IS NOT NULL
DROP TABLE [dbo].[Doctors];
GO
IF OBJECT_ID(N'[dbo].[Images]', 'U') IS NOT NULL
DROP TABLE [dbo].[Images];
GO
IF OBJECT_ID(N'[dbo].[Patients]', 'U') IS NOT NULL
DROP TABLE [dbo].[Patients];
GO
IF OBJECT_ID(N'[dbo].[Reviews]', 'U') IS NOT NULL
DROP TABLE [dbo].[Reviews];
GO
IF OBJECT_ID(N'[dbo].[Sessions]', 'U') IS NOT NULL
DROP TABLE [dbo].[Sessions];
GO
IF OBJECT_ID(N'[dbo].[ShareURLs]', 'U') IS NOT NULL
DROP TABLE [dbo].[ShareURLs];
GO
IF OBJECT_ID(N'[dbo].[Users]', 'U') IS NOT NULL
DROP TABLE [dbo].[Users];
GO
-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------
-- Creating table 'Appointments'
CREATE TABLE [dbo].[Appointments] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[createdAt] datetime NULL,
[responsibleBy] varchar(36) NULL,
[appointmentDate] datetime NULL,
[status] int NULL,
[createdBy] int NULL
);
GO
-- Creating table 'Credentials'
CREATE TABLE [dbo].[Credentials] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[provider] int NOT NULL,
[uniqueIdCode] varchar(max) NULL
);
GO
-- Creating table 'Doctors'
CREATE TABLE [dbo].[Doctors] (
[user] varchar(36) NOT NULL,
[bio] varchar(max) NULL
);
GO
-- Creating table 'Images'
CREATE TABLE [dbo].[Images] (
[uuid] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[responsibleBy] varchar(36) NULL,
[createdAt] datetime NULL,
[appointment] varchar(36) NULL,
[status] int NULL,
[file] varchar(max) NULL
);
GO
-- Creating table 'Patients'
CREATE TABLE [dbo].[Patients] (
[user] varchar(36) NOT NULL,
[phone] varchar(max) NULL,
[address] varchar(max) NULL,
[notes] varchar(max) NULL
);
GO
-- Creating table 'Reviews'
CREATE TABLE [dbo].[Reviews] (
[appointment] varchar(36) NOT NULL,
[patient] varchar(36) NULL,
[doctor] varchar(36) NULL,
[score] int NULL,
[comment] varchar(max) NULL,
[reply] varchar(max) NULL,
[reviewAt] datetime NULL,
[replyAt] datetime NULL
);
GO
-- Creating table 'Sessions'
CREATE TABLE [dbo].[Sessions] (
[uuid] varchar(36) NOT NULL,
[user] varchar(36) NOT NULL,
[token] varchar(max) NULL,
[alias] varchar(max) NULL,
[validFrom] datetime NULL,
[validTo] datetime NULL
);
GO
-- Creating table 'ShareURLs'
CREATE TABLE [dbo].[ShareURLs] (
[image] varchar(36) NOT NULL,
[visibility] int NULL,
[slug] varchar(max) NULL,
[status] int NULL
);
GO
-- Creating table 'Users'
CREATE TABLE [dbo].[Users] (
[uuid] varchar(36) NOT NULL,
[displayName] varchar(max) NULL,
[avatar] varchar(max) NULL,
[role] int NULL
);
GO
-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------
-- Creating primary key on [uuid] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [PK_Appointments]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [uuid] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [PK_Credentials]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [PK_Doctors]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [uuid] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [PK_Images]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [PK_Patients]
PRIMARY KEY CLUSTERED ([user] ASC);
GO
-- Creating primary key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [PK_Reviews]
PRIMARY KEY CLUSTERED ([appointment] ASC);
GO
-- Creating primary key on [uuid] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [PK_Sessions]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- Creating primary key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [PK_ShareURLs]
PRIMARY KEY CLUSTERED ([image] ASC);
GO
-- Creating primary key on [uuid] in table 'Users'
ALTER TABLE [dbo].[Users]
ADD CONSTRAINT [PK_Users]
PRIMARY KEY CLUSTERED ([uuid] ASC);
GO
-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------
-- Creating foreign key on [patient] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__patie__5AEE82B9]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__patie__5AEE82B9'
CREATE INDEX [IX_FK__Appointme__patie__5AEE82B9]
ON [dbo].[Appointments]
([patient]);
GO
-- Creating foreign key on [responsibleBy] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK__Appointme__respo__5BE2A6F2]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Appointme__respo__5BE2A6F2'
CREATE INDEX [IX_FK__Appointme__respo__5BE2A6F2]
ON [dbo].[Appointments]
([responsibleBy]);
GO
-- Creating foreign key on [appointment] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__appointm__60A75C0F]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__appointm__60A75C0F'
CREATE INDEX [IX_FK__Images__appointm__60A75C0F]
ON [dbo].[Images]
([appointment]);
GO
-- Creating foreign key on [appointment] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__appoint__6383C8BA]
FOREIGN KEY ([appointment])
REFERENCES [dbo].[Appointments]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Credentials'
ALTER TABLE [dbo].[Credentials]
ADD CONSTRAINT [FK__Credential__user__4BAC3F29]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Credential__user__4BAC3F29'
CREATE INDEX [IX_FK__Credential__user__4BAC3F29]
ON [dbo].[Credentials]
([user]);
GO
-- Creating foreign key on [user] in table 'Doctors'
ALTER TABLE [dbo].[Doctors]
ADD CONSTRAINT [FK__Doctors__user__5441852A]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [responsibleBy] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__responsi__5FB337D6]
FOREIGN KEY ([responsibleBy])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__responsi__5FB337D6'
CREATE INDEX [IX_FK__Images__responsi__5FB337D6]
ON [dbo].[Images]
([responsibleBy]);
GO
-- Creating foreign key on [doctor] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__doctor__656C112C]
FOREIGN KEY ([doctor])
REFERENCES [dbo].[Doctors]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__doctor__656C112C'
CREATE INDEX [IX_FK__Reviews__doctor__656C112C]
ON [dbo].[Reviews]
([doctor]);
GO
-- Creating foreign key on [patient] in table 'Images'
ALTER TABLE [dbo].[Images]
ADD CONSTRAINT [FK__Images__patient__5EBF139D]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Images__patient__5EBF139D'
CREATE INDEX [IX_FK__Images__patient__5EBF139D]
ON [dbo].[Images]
([patient]);
GO
-- Creating foreign key on [image] in table 'ShareURLs'
ALTER TABLE [dbo].[ShareURLs]
ADD CONSTRAINT [FK__ShareURLs__image__68487DD7]
FOREIGN KEY ([image])
REFERENCES [dbo].[Images]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [user] in table 'Patients'
ALTER TABLE [dbo].[Patients]
ADD CONSTRAINT [FK__Patients__user__5165187F]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating foreign key on [patient] in table 'Reviews'
ALTER TABLE [dbo].[Reviews]
ADD CONSTRAINT [FK__Reviews__patient__6477ECF3]
FOREIGN KEY ([patient])
REFERENCES [dbo].[Patients]
([user])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Reviews__patient__6477ECF3'
CREATE INDEX [IX_FK__Reviews__patient__6477ECF3]
ON [dbo].[Reviews]
([patient]);
GO
-- Creating foreign key on [user] in table 'Sessions'
ALTER TABLE [dbo].[Sessions]
ADD CONSTRAINT [FK__Sessions__user__4E88ABD4]
FOREIGN KEY ([user])
REFERENCES [dbo].[Users]
([uuid])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK__Sessions__user__4E88ABD4'
CREATE INDEX [IX_FK__Sessions__user__4E88ABD4]
ON [dbo].[Sessions]
([user]);
GO
-- --------------------------------------------------
-- Script has ended
-- --------------------------------------------------

View File

@ -0,0 +1,65 @@
@model FIT5032_Assignment.Models.Users
@{
ViewBag.Title = "Create";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Users</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="form-group">
@Html.LabelFor(model => model.uuid, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.uuid, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.uuid, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.displayName, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.displayName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.displayName, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.avatar, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.avatar, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.avatar, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.role, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.role, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.role, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Create" class="btn btn-default" />
</div>
</div>
</div>
}
<div>
@Html.ActionLink("Back to List", "Index")
</div>
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}

View File

@ -0,0 +1,65 @@
@model FIT5032_Assignment.Models.Users
@{
ViewBag.Title = "Delete";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Users</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.displayName)
</dt>
<dd>
@Html.DisplayFor(model => model.displayName)
</dd>
<dt>
@Html.DisplayNameFor(model => model.avatar)
</dt>
<dd>
@Html.DisplayFor(model => model.avatar)
</dd>
<dt>
@Html.DisplayNameFor(model => model.role)
</dt>
<dd>
@Html.DisplayFor(model => model.role)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Doctors.bio)
</dt>
<dd>
@Html.DisplayFor(model => model.Doctors.bio)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Patients.phone)
</dt>
<dd>
@Html.DisplayFor(model => model.Patients.phone)
</dd>
</dl>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
<div class="form-actions no-color">
<input type="submit" value="Delete" class="btn btn-default" /> |
@Html.ActionLink("Back to List", "Index")
</div>
}
</div>

View File

@ -0,0 +1,59 @@
@model FIT5032_Assignment.Models.Users
@{
ViewBag.Title = "Details";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Details</h2>
<div>
<h4>Users</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.displayName)
</dt>
<dd>
@Html.DisplayFor(model => model.displayName)
</dd>
<dt>
@Html.DisplayNameFor(model => model.avatar)
</dt>
<dd>
@Html.DisplayFor(model => model.avatar)
</dd>
<dt>
@Html.DisplayNameFor(model => model.role)
</dt>
<dd>
@Html.DisplayFor(model => model.role)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Doctors.bio)
</dt>
<dd>
@Html.DisplayFor(model => model.Doctors.bio)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Patients.phone)
</dt>
<dd>
@Html.DisplayFor(model => model.Patients.phone)
</dd>
</dl>
</div>
<p>
@Html.ActionLink("Edit", "Edit", new { id = Model.uuid }) |
@Html.ActionLink("Back to List", "Index")
</p>

View File

@ -0,0 +1,59 @@
@model FIT5032_Assignment.Models.Users
@{
ViewBag.Title = "Edit";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Users</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.uuid)
<div class="form-group">
@Html.LabelFor(model => model.displayName, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.displayName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.displayName, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.avatar, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.avatar, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.avatar, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.role, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.role, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.role, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Save" class="btn btn-default" />
</div>
</div>
</div>
}
<div>
@Html.ActionLink("Back to List", "Index")
</div>
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}

View File

@ -0,0 +1,58 @@
@model IEnumerable<FIT5032_Assignment.Models.Users>
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.displayName)
</th>
<th>
@Html.DisplayNameFor(model => model.avatar)
</th>
<th>
@Html.DisplayNameFor(model => model.role)
</th>
<th>
@Html.DisplayNameFor(model => model.Doctors.bio)
</th>
<th>
@Html.DisplayNameFor(model => model.Patients.phone)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.displayName)
</td>
<td>
@Html.DisplayFor(modelItem => item.avatar)
</td>
<td>
@Html.DisplayFor(modelItem => item.role)
</td>
<td>
@Html.DisplayFor(modelItem => item.Doctors.bio)
</td>
<td>
@Html.DisplayFor(modelItem => item.Patients.phone)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.uuid }) |
@Html.ActionLink("Details", "Details", new { id=item.uuid }) |
@Html.ActionLink("Delete", "Delete", new { id=item.uuid })
</td>
</tr>
}
</table>

View File

@ -2,7 +2,7 @@
<packages> <packages>
<package id="Antlr" version="3.5.0.2" targetFramework="net48" /> <package id="Antlr" version="3.5.0.2" targetFramework="net48" />
<package id="bootstrap" version="5.2.3" targetFramework="net48" /> <package id="bootstrap" version="5.2.3" targetFramework="net48" />
<package id="EntityFramework" version="6.2.0" targetFramework="net48" /> <package id="EntityFramework" version="6.4.4" targetFramework="net48" />
<package id="jQuery" version="3.4.1" targetFramework="net48" /> <package id="jQuery" version="3.4.1" targetFramework="net48" />
<package id="jQuery.Validation" version="1.17.0" targetFramework="net48" /> <package id="jQuery.Validation" version="1.17.0" targetFramework="net48" />
<package id="Microsoft.AspNet.Mvc" version="5.2.9" targetFramework="net48" /> <package id="Microsoft.AspNet.Mvc" version="5.2.9" targetFramework="net48" />

View File

File diff suppressed because it is too large Load Diff

View File

@ -1,155 +0,0 @@
param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa3gYJKoZIhvcNAQcCoIIazzCCGssCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUjXj4E03IfImYfKMB4CA3DfY0
# KZmgghWAMIIEwjCCA6qgAwIBAgITMwAAAMDeLD0HlORJeQAAAAAAwDANBgkqhkiG
# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G
# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnB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ENB
# AhMzAAAAwN4sPQeU5El5AAAAAADAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMx
# CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzEwMjMyMDEzNDVaMCMGCSqG
# SIb3DQEJBDEWBBSn3QkcYO648MmwXthSXKh2NV8R9TANBgkqhkiG9w0BAQUFAASC
# AQCnYTuQPUR6cHCGZStrauV4FQS+OC0dCo7D+mHETHYnDfgRKAloSQFBSqCm4C2+
# GH20vmak1LgnN48Gc7YBQ4tXyW0HXo8yfCJDBeaF1tYGGLIMPthq3Pqu0+mqrJ2C
# rklJw6+cKsF9+ESo9hoTCf3qztNjbEtaXrsakX+dALcMzJ4ism2oh5bUHd6CxWfF
# Z/xLn4VQxzmZUSPbnhkIAoPwauAswHi1jgqo7Qd0HSIKHGNex7SOGgBfTWD4gCe4
# IzGJlFFmCT6pFsjvreEnaQLNBv+yOj9P1Pf4MDVrNQn0OLeWSxfpf+XfgECLi0LS
# QMxcy5Q0PezBaxQKzBTp39mT
# SIG # End signature block

View File

@ -1,154 +0,0 @@
param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands."
# SIG # Begin signature block
# MIIa3gYJKoZIhvcNAQcCoIIazzCCGssCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUt8mwpdjiFmu2B4KBh+vEeQ+V
# VnSgghWAMIIEwjCCA6qgAwIBAgITMwAAALu2dyRxSiAAIAAAAAAAuzANBgkqhkiG
# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv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dGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB
# AhMzAAAAu7Z3JHFKIAAgAAAAAAC7MAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMx
# CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzEwMjMyMDEzMzlaMCMGCSqG
# SIb3DQEJBDEWBBR5eDKlzjbXG+gQhPSdEMDmmjY6BTANBgkqhkiG9w0BAQUFAASC
# AQB777+HNR9jVbg2sXZm72fSrm3jxSLugzhcA4OxhZObW96AnJknlduQvAGqcDV+
# Lt9CyaYLMt6I89MGkP9PBv8t5xhW0rHuBykna+5tTL8wvYrKd7r4ZvXT7YtHrqxO
# c+WLBPUD8XvSxI2wEsXt6uPCt44sd8PdO7VMiRNWth9aWo7rWaP0kGGAt0qhspI8
# 6mhsnam+SRGuDCpoLYcMTc1vVVKu1zZ9wgfxNCaf9YVswKmFc7Mj7VNpA3qd6Te0
# RNAEkgZr84KzCf8CYtWMsSy9k68drBbP0JosTxCLrJ9/zud6fykp5UcljzdKHKdU
# LMT4QBU8ya4StU9IgrUFBBcI
# SIG # End signature block

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packages/EntityFramework.6.4.4/Icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -0,0 +1,6 @@
<Project>
<ItemGroup Condition="'$(EnableDefaultEntityDeployItems)' == 'True'">
<EntityDeploy Include="**/*.edmx" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
<None Remove="**/*.edmx" Condition="'$(EnableDefaultNoneItems)' == 'True'" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Condition="'$(EnableDefaultItems)' == 'True'" Project="EntityFramework.DefaultItems.props" />
</Project>

View File

@ -0,0 +1,152 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<EnableDefaultEntityDeployItems Condition="'$(EnableDefaultEntityDeployItems)' == ''">True</EnableDefaultEntityDeployItems>
</PropertyGroup>
<!-- This .targets file can be used by updating Microsoft.Common.targets to
include the line below (as the last import element just before the end project tag)
<Import Project="$(MSBuildBinPath)\Microsoft.Data.Entity.targets" Condition="Exists('$(MSBuildBinPath)\Microsoft.Data.Entity.targets')"/>
-->
<!-- The below ensures that "EntityDeploy" is available in the VS Build Action dropdown -->
<ItemGroup>
<AvailableItemName Include="EntityDeploy" />
</ItemGroup>
<PropertyGroup>
<!-- EntityDeployIntermediateResourcePath is the path used to store resources generated from
the EDMX file before they are embedded in the build target -->
<EntityDeployIntermediateResourcePath>$(IntermediateOutputPath)edmxResourcesToEmbed\</EntityDeployIntermediateResourcePath>
</PropertyGroup>
<UsingTask TaskName="EntityDeploySplit"
AssemblyFile="Microsoft.Data.Entity.Build.Tasks.dll" />
<UsingTask TaskName="EntityDeploy"
AssemblyFile="Microsoft.Data.Entity.Build.Tasks.dll" />
<UsingTask TaskName="EntityDeploySetLogicalNames"
AssemblyFile="Microsoft.Data.Entity.Build.Tasks.dll" />
<UsingTask TaskName="EntityClean"
AssemblyFile="Microsoft.Data.Entity.Build.Tasks.dll" />
<PropertyGroup>
<!-- EntityDeployDependsOn deliberately left empty so others can override this -->
<EntityDeployDependsOn></EntityDeployDependsOn>
<BuildDependsOn>
EntityDeploy;
$(BuildDependsOn)
</BuildDependsOn>
</PropertyGroup>
<PropertyGroup>
<CleanDependsOn>
$(CleanDependsOn);
EntityClean;
</CleanDependsOn>
</PropertyGroup>
<Target Name="EntityDeploy"
DependsOnTargets="$(EntityDeployDependsOn)"
Condition="'@(EntityDeploy)' != ''">
<CallTarget Targets="EntityDeployNonEmbeddedResources" />
<CallTarget Targets="EntityDeployEmbeddedResources" />
<CallTarget Targets="EntityDeploySetLogicalNames" />
</Target>
<!-- Split the EDMX files into two groups: those whose resources need to be embedded
and those whose resources need to be copied
Note: this also assigns the EntityDeployRelativeDir metadata to each
item so that the same metadata can be used regardless of whether the
underlying item is a link or a normal file -->
<Target Name="EntityDeploySplit" >
<EntityDeploySplit
Sources="@(EntityDeploy)" >
<Output TaskParameter="EmbeddingItems" ItemName="EntityDeployEmbeddingItems" />
<Output TaskParameter="NonEmbeddingItems" ItemName="EntityDeployCopyingItems" />
</EntityDeploySplit>
<Message Condition="'$(EntityDeployDebug)'=='true'"
Text="EntityDeploySplit: EntityDeployEmbeddingItems = @(EntityDeployEmbeddingItems)" />
<Message Condition="'$(EntityDeployDebug)'=='true'"
Text="EntityDeploySplit: EntityDeployCopyingItems = @(EntityDeployCopyingItems)" />
</Target>
<!-- Generate to $(OutputPath) the CSDL, MSL and SSDL resources from the EDMX
files set to copy their outputs to the output directory (use SSDL as marker
file as that is the last one generated) -->
<Target Name="EntityDeployNonEmbeddedResources"
DependsOnTargets="EntityDeploySplit"
Inputs="@(EntityDeployCopyingItems)"
Outputs="@(EntityDeployCopyingItems->'$(OutputPath)%(EntityDeployRelativeDir)%(Filename).ssdl')" >
<EntityDeploy
Sources="@(EntityDeployCopyingItems)"
OutputPath="$(OutputPath)" >
</EntityDeploy>
</Target>
<!-- Generates to $(EntityDeployIntermediateResourcePath) the CSDL, MSL and SSDL
resources from the EDMX files set to embed their outputs (use SSDL as marker
file as that is the last one generated) -->
<Target Name="EntityDeployEmbeddedResources"
DependsOnTargets="EntityDeploySplit"
Inputs="@(EntityDeployEmbeddingItems)"
Outputs="@(EntityDeployEmbeddingItems->'$(EntityDeployIntermediateResourcePath)%(EntityDeployRelativeDir)%(Filename).ssdl')" >
<EntityDeploy
Sources="@(EntityDeployEmbeddingItems)"
OutputPath="$(EntityDeployIntermediateResourcePath)" >
</EntityDeploy>
</Target>
<Target Name="EntityClean"
Condition="'@(EntityDeploy)' != ''">
<EntityClean
Sources="@(EntityDeploy)"
ResourceOutputPath="$(EntityDeployIntermediateResourcePath)"
OutputPath="$(OutputPath)"
/>
</Target>
<!-- Define the CSDL/MSL/SSDL files generated from @(EntityDeployEmbeddingItems)
as part of the EmbeddedResource ItemGroup which includes them in the build target
Note: this must happen regardless of whether the EntityDeployEmbeddedResources target is
skipped due to incremental build -->
<Target Name="EntityDeploySetLogicalNames"
DependsOnTargets="EntityDeploySplit">
<!-- First define the resources to be embedded
Note: ignore resources which are not in @(EntityDeployEmbeddingItems) - this ignores
resources generated by previous runs which have now had their MetadataArtifactProcessing
changed to "CopyToOutput" -->
<ItemGroup>
<EntityDeployResourcesToEmbed Include="@(EntityDeployEmbeddingItems->'$(EntityDeployIntermediateResourcePath)%(EntityDeployRelativeDir)%(Filename).csdl')" />
<EntityDeployResourcesToEmbed Include="@(EntityDeployEmbeddingItems->'$(EntityDeployIntermediateResourcePath)%(EntityDeployRelativeDir)%(Filename).msl')" />
<EntityDeployResourcesToEmbed Include="@(EntityDeployEmbeddingItems->'$(EntityDeployIntermediateResourcePath)%(EntityDeployRelativeDir)%(Filename).ssdl')" />
</ItemGroup>
<Message Condition="'$(EntityDeployDebug)'=='true'"
Text="EntityDeploySetLogicalNames: EntityDeployResourcesToEmbed = @(EntityDeployResourcesToEmbed)" />
<!-- Now update their logical names and add them to the list of resources to be embedded -->
<EntityDeploySetLogicalNames
Sources="@(EntityDeployResourcesToEmbed)"
ResourceOutputPath="$(EntityDeployIntermediateResourcePath)" >
<Output TaskParameter="ResourcesToEmbed" ItemName="EmbeddedResource"/>
</EntityDeploySetLogicalNames>
</Target>
</Project>

View File

@ -0,0 +1,6 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<GenerateRuntimeConfigurationFiles>True</GenerateRuntimeConfigurationFiles>
</PropertyGroup>
<Import Project="..\EntityFramework.props" />
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\EntityFramework.targets" />
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\build\EntityFramework.props" />
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\build\EntityFramework.targets" />
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\build\netcoreapp3.0\EntityFramework.props" />
</Project>

View File

@ -0,0 +1,3 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\build\netcoreapp3.0\EntityFramework.targets" />
</Project>

View File

@ -0,0 +1,11 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<configSections>
<section name="entityFramework" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" xdt:Transform="Insert" xdt:Locator="Match(name)" />
</configSections>
<entityFramework xdt:Transform="InsertIfMissing">
<providers xdt:Transform="InsertIfMissing">
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" xdt:Transform="InsertIfMissing" xdt:Locator="Match(invariantName)" />
</providers>
</entityFramework>
</configuration>

View File

@ -0,0 +1,11 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<configSections>
<section name="entityFramework" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" xdt:Transform="Insert" xdt:Locator="Match(name)" />
</configSections>
<entityFramework xdt:Transform="InsertIfMissing">
<providers xdt:Transform="InsertIfMissing">
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" xdt:Transform="InsertIfMissing" xdt:Locator="Match(invariantName)" />
</providers>
</entityFramework>
</configuration>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,285 @@
#
# Module manifest for module 'EntityFramework6.PS2'
#
@{
# Script module or binary module file associated with this manifest
ModuleToProcess = 'EntityFramework6.PS2.psm1'
# Version number of this module.
ModuleVersion = '6.4.4'
# ID used to uniquely identify this module
GUID = 'a0032654-4b7b-4934-ae70-4036796a7318'
# Author of this module
Author = 'Entity Framework Team'
# Company or vendor of this module
CompanyName = 'Microsoft Corporation'
# Copyright statement for this module
Copyright = '(c) Microsoft Corporation. All rights reserved.'
# Description of the functionality provided by this module
Description = 'EntityFramework PowerShell module for use within NuGet''s Package Manager Console'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '2.0'
# Name of the Windows PowerShell host required by this module
PowerShellHostName = 'Package Manager Host'
# Minimum version of the Windows PowerShell host required by this module
PowerShellHostVersion = '1.2'
# Minimum version of the .NET Framework required by this module
DotNetFrameworkVersion = '4.0'
# Minimum version of the common language runtime (CLR) required by this module
CLRVersion = ''
# Processor architecture (None, X86, Amd64, IA64) required by this module
ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module
ScriptsToProcess = @()
# Type files (.ps1xml) to be loaded when importing this module
TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @()
# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @()
# Functions to export from this module
FunctionsToExport = (
'Add-EFDefaultConnectionFactory',
'Add-EFProvider',
'Add-Migration',
'Enable-Migrations',
'Get-Migrations',
'Update-Database'
)
# Cmdlets to export from this module
CmdletsToExport = @()
# Variables to export from this module
VariablesToExport = '*'
# Aliases to export from this module
AliasesToExport = @()
# List of all modules packaged with this module
ModuleList = @()
# List of all files packaged with this module
FileList = @()
# Private data to pass to the module specified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FWXBF+oQAAAAAAQgwDQYJYIZIAWUDBAIBBQCgggFKMBoG
# CSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg6SdxGggm
# /SV4iEwnm9s2YX4eQorOq4/3lnByXJzCNEswgfoGCyqGSIb3DQEJEAIvMYHqMIHn
# MIHkMIG9BCDgAzZO4EXd9UqiFVHP2IiCy0/tDAky9BuuDiapxVmDRzCBmDCBgKR+
# MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS
# ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMT
# HU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABCH3/RVlwRfqEAAAA
# AAEIMCIEIAR7hoEvq3nYLbqApGCaBLqEGwH4qKwRrBpFNOMqn8WZMA0GCSqGSIb3
# DQEBCwUABIIBAH20VXijrVk0acGdnaEmzxD4gPAqID5PUXgQY496Xt/XtUzLf0A5
# QaNmMB+oshPCE0qPJfzHnqdOBwFRUvm0X2aX+Z4Bc+Lfl/bjktZhQ0qWMyEdEOnp
# 4HGZGuAcHy70HCnKIobZP4vgyza91T8NPiy0EpHUWQPx5zRlYSlqRTSBgWmrNjL0
# 0m2zga1QSq4RZYM1giGBPKHr+HQpeRfzQGgn6XRvInZpIU6txxBKtMgnTglYNi3t
# XOOGhRsTDg1MJNTmqRLEZDS3JE3jY411nFdQuFkhba43mxO7ps+1IrBPWTTJhmOK
# Tii7+z0Im6zmZ4AqaOtpgJ9sADRUkSnkb+o=
# SIG # End signature block

View File

@ -0,0 +1,731 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
$ErrorActionPreference = 'Stop'
$InitialDatabase = '0'
$UpdatePowerShell = 'The Entity Framework Package Manager Console Tools require Windows PowerShell 3.0 or higher. ' +
'Install Windows Management Framework 3.0, restart Visual Studio, and try again. https://aka.ms/wmf3download'
<#
.SYNOPSIS
Adds or updates an Entity Framework provider entry in the project config
file.
.DESCRIPTION
Adds an entry into the 'entityFramework' section of the project config
file for the specified provider invariant name and provider type. If an
entry for the given invariant name already exists, then that entry is
updated with the given type name, unless the given type name already
matches, in which case no action is taken. The 'entityFramework'
section is added if it does not exist. The config file is automatically
saved if and only if a change was made.
This command is typically used only by Entity Framework provider NuGet
packages and is run from the 'install.ps1' script.
.PARAMETER Project
The Visual Studio project to update. When running in the NuGet install.ps1
script the '$project' variable provided as part of that script should be
used.
.PARAMETER InvariantName
The provider invariant name that uniquely identifies this provider. For
example, the Microsoft SQL Server provider is registered with the invariant
name 'System.Data.SqlClient'.
.PARAMETER TypeName
The assembly-qualified type name of the provider-specific type that
inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. For
example, for the Microsoft SQL Server provider, this type is
'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'.
#>
function Add-EFProvider
{
[CmdletBinding(PositionalBinding = $false)]
param(
[parameter(Position = 0, Mandatory = $true)]
$Project,
[parameter(Position = 1, Mandatory = $true)]
[string] $InvariantName,
[parameter(Position = 2, Mandatory = $true)]
[string] $TypeName)
$configPath = GetConfigPath($Project)
if (!$configPath)
{
return
}
[xml] $configXml = Get-Content $configPath
$providers = $configXml.configuration.entityFramework.providers
$providers.provider |
where invariantName -eq $InvariantName |
%{ $providers.RemoveChild($_) | Out-Null }
$provider = $providers.AppendChild($configXml.CreateElement('provider'))
$provider.SetAttribute('invariantName', $InvariantName)
$provider.SetAttribute('type', $TypeName)
$configXml.Save($configPath)
}
<#
.SYNOPSIS
Adds or updates an Entity Framework default connection factory in the
project config file.
.DESCRIPTION
Adds an entry into the 'entityFramework' section of the project config
file for the connection factory that Entity Framework will use by default
when creating new connections by convention. Any existing entry will be
overridden if it does not match. The 'entityFramework' section is added if
it does not exist. The config file is automatically saved if and only if
a change was made.
This command is typically used only by Entity Framework provider NuGet
packages and is run from the 'install.ps1' script.
.PARAMETER Project
The Visual Studio project to update. When running in the NuGet install.ps1
script the '$project' variable provided as part of that script should be
used.
.PARAMETER TypeName
The assembly-qualified type name of the connection factory type that
implements the 'System.Data.Entity.Infrastructure.IDbConnectionFactory'
interface. For example, for the Microsoft SQL Server Express provider
connection factory, this type is
'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework'.
.PARAMETER ConstructorArguments
An optional array of strings that will be passed as arguments to the
connection factory type constructor.
#>
function Add-EFDefaultConnectionFactory
{
[CmdletBinding(PositionalBinding = $false)]
param(
[parameter(Position = 0, Mandatory = $true)]
$Project,
[parameter(Position = 1, Mandatory = $true)]
[string] $TypeName,
[string[]] $ConstructorArguments)
$configPath = GetConfigPath($Project)
if (!$configPath)
{
return
}
[xml] $configXml = Get-Content $configPath
$entityFramework = $configXml.configuration.entityFramework
$defaultConnectionFactory = $entityFramework.defaultConnectionFactory
if ($defaultConnectionFactory)
{
$entityFramework.RemoveChild($defaultConnectionFactory) | Out-Null
}
$defaultConnectionFactory = $entityFramework.AppendChild($configXml.CreateElement('defaultConnectionFactory'))
$defaultConnectionFactory.SetAttribute('type', $TypeName)
if ($ConstructorArguments)
{
$parameters = $defaultConnectionFactory.AppendChild($configXml.CreateElement('parameters'))
foreach ($constructorArgument in $ConstructorArguments)
{
$parameter = $parameters.AppendChild($configXml.CreateElement('parameter'))
$parameter.SetAttribute('value', $constructorArgument)
}
}
$configXml.Save($configPath)
}
<#
.SYNOPSIS
Enables Code First Migrations in a project.
.DESCRIPTION
Enables Migrations by scaffolding a migrations configuration class in the project. If the
target database was created by an initializer, an initial migration will be created (unless
automatic migrations are enabled via the EnableAutomaticMigrations parameter).
.PARAMETER ContextTypeName
Specifies the context to use. If omitted, migrations will attempt to locate a
single context type in the target project.
.PARAMETER EnableAutomaticMigrations
Specifies whether automatic migrations will be enabled in the scaffolded migrations configuration.
If omitted, automatic migrations will be disabled.
.PARAMETER MigrationsDirectory
Specifies the name of the directory that will contain migrations code files.
If omitted, the directory will be named "Migrations".
.PARAMETER ProjectName
Specifies the project that the scaffolded migrations configuration class will
be added to. If omitted, the default project selected in package manager
console is used.
.PARAMETER StartUpProjectName
Specifies the configuration file to use for named connection strings. If
omitted, the specified project's configuration file is used.
.PARAMETER ContextProjectName
Specifies the project which contains the DbContext class to use. If omitted,
the context is assumed to be in the same project used for migrations.
.PARAMETER ConnectionStringName
Specifies the name of a connection string to use from the application's
configuration file.
.PARAMETER ConnectionString
Specifies the connection string to use. If omitted, the context's
default connection will be used.
.PARAMETER ConnectionProviderName
Specifies the provider invariant name of the connection string.
.PARAMETER Force
Specifies that the migrations configuration be overwritten when running more
than once for a given project.
.PARAMETER ContextAssemblyName
Specifies the name of the assembly which contains the DbContext class to use. Use this
parameter instead of ContextProjectName when the context is contained in a referenced
assembly rather than in a project of the solution.
.PARAMETER AppDomainBaseDirectory
Specifies the directory to use for the app-domain that is used for running Migrations
code such that the app-domain is able to find all required assemblies. This is an
advanced option that should only be needed if the solution contains several projects
such that the assemblies needed for the context and configuration are not all
referenced from either the project containing the context or the project containing
the migrations.
.EXAMPLE
Enable-Migrations
# Scaffold a migrations configuration in a project with only one context
.EXAMPLE
Enable-Migrations -Auto
# Scaffold a migrations configuration with automatic migrations enabled for a project
# with only one context
.EXAMPLE
Enable-Migrations -ContextTypeName MyContext -MigrationsDirectory DirectoryName
# Scaffold a migrations configuration for a project with multiple contexts
# This scaffolds a migrations configuration for MyContext and will put the configuration
# and subsequent configurations in a new directory called "DirectoryName"
#>
function Enable-Migrations(
$ContextTypeName,
[alias('Auto')]
[switch] $EnableAutomaticMigrations,
$MigrationsDirectory,
$ProjectName,
$StartUpProjectName,
$ContextProjectName,
$ConnectionStringName,
$ConnectionString,
$ConnectionProviderName,
[switch] $Force,
$ContextAssemblyName,
$AppDomainBaseDirectory)
WarnIfOtherEFs 'Enable-Migrations'
throw $UpdatePowerShell
}
<#
.SYNOPSIS
Scaffolds a migration script for any pending model changes.
.DESCRIPTION
Scaffolds a new migration script and adds it to the project.
.PARAMETER Name
Specifies the name of the custom script.
.PARAMETER Force
Specifies that the migration user code be overwritten when re-scaffolding an
existing migration.
.PARAMETER ProjectName
Specifies the project that contains the migration configuration type to be
used. If omitted, the default project selected in package manager console
is used.
.PARAMETER StartUpProjectName
Specifies the configuration file to use for named connection strings. If
omitted, the specified project's configuration file is used.
.PARAMETER ConfigurationTypeName
Specifies the migrations configuration to use. If omitted, migrations will
attempt to locate a single migrations configuration type in the target
project.
.PARAMETER ConnectionStringName
Specifies the name of a connection string to use from the application's
configuration file.
.PARAMETER ConnectionString
Specifies the connection string to use. If omitted, the context's
default connection will be used.
.PARAMETER ConnectionProviderName
Specifies the provider invariant name of the connection string.
.PARAMETER IgnoreChanges
Scaffolds an empty migration ignoring any pending changes detected in the current model.
This can be used to create an initial, empty migration to enable Migrations for an existing
database. N.B. Doing this assumes that the target database schema is compatible with the
current model.
.PARAMETER AppDomainBaseDirectory
Specifies the directory to use for the app-domain that is used for running Migrations
code such that the app-domain is able to find all required assemblies. This is an
advanced option that should only be needed if the solution contains several projects
such that the assemblies needed for the context and configuration are not all
referenced from either the project containing the context or the project containing
the migrations.
.EXAMPLE
Add-Migration First
# Scaffold a new migration named "First"
.EXAMPLE
Add-Migration First -IgnoreChanges
# Scaffold an empty migration ignoring any pending changes detected in the current model.
# This can be used to create an initial, empty migration to enable Migrations for an existing
# database. N.B. Doing this assumes that the target database schema is compatible with the
# current model.
#>
function Add-Migration(
$Name,
[switch] $Force,
$ProjectName,
$StartUpProjectName,
$ConfigurationTypeName,
$ConnectionStringName,
$ConnectionString,
$ConnectionProviderName,
[switch] $IgnoreChanges,
$AppDomainBaseDirectory)
WarnIfOtherEFs 'Add-Migration'
throw $UpdatePowerShell
}
<#
.SYNOPSIS
Applies any pending migrations to the database.
.DESCRIPTION
Updates the database to the current model by applying pending migrations.
.PARAMETER SourceMigration
Only valid with -Script. Specifies the name of a particular migration to use
as the update's starting point. If omitted, the last applied migration in
the database will be used.
.PARAMETER TargetMigration
Specifies the name of a particular migration to update the database to. If
omitted, the current model will be used.
.PARAMETER Script
Generate a SQL script rather than executing the pending changes directly.
.PARAMETER Force
Specifies that data loss is acceptable during automatic migration of the
database.
.PARAMETER ProjectName
Specifies the project that contains the migration configuration type to be
used. If omitted, the default project selected in package manager console
is used.
.PARAMETER StartUpProjectName
Specifies the configuration file to use for named connection strings. If
omitted, the specified project's configuration file is used.
.PARAMETER ConfigurationTypeName
Specifies the migrations configuration to use. If omitted, migrations will
attempt to locate a single migrations configuration type in the target
project.
.PARAMETER ConnectionStringName
Specifies the name of a connection string to use from the application's
configuration file.
.PARAMETER ConnectionString
Specifies the connection string to use. If omitted, the context's
default connection will be used.
.PARAMETER ConnectionProviderName
Specifies the provider invariant name of the connection string.
.PARAMETER AppDomainBaseDirectory
Specifies the directory to use for the app-domain that is used for running Migrations
code such that the app-domain is able to find all required assemblies. This is an
advanced option that should only be needed if the solution contains several projects
such that the assemblies needed for the context and configuration are not all
referenced from either the project containing the context or the project containing
the migrations.
.EXAMPLE
Update-Database
# Update the database to the latest migration
.EXAMPLE
Update-Database -TargetMigration Second
# Update database to a migration named "Second"
# This will apply migrations if the target hasn't been applied or roll back migrations
# if it has
.EXAMPLE
Update-Database -Script
# Generate a script to update the database from its current state to the latest migration
.EXAMPLE
Update-Database -Script -SourceMigration Second -TargetMigration First
# Generate a script to migrate the database from a specified start migration
# named "Second" to a specified target migration named "First"
.EXAMPLE
Update-Database -Script -SourceMigration $InitialDatabase
# Generate a script that can upgrade a database currently at any version to the latest version.
# The generated script includes logic to check the __MigrationsHistory table and only apply changes
# that haven't been previously applied.
.EXAMPLE
Update-Database -TargetMigration $InitialDatabase
# Runs the Down method to roll-back any migrations that have been applied to the database
#>
function Update-Database(
$SourceMigration,
$TargetMigration,
[switch] $Script,
[switch] $Force,
$ProjectName,
$StartUpProjectName,
$ConfigurationTypeName,
$ConnectionStringName,
$ConnectionString,
$ConnectionProviderName,
$AppDomainBaseDirectory)
WarnIfOtherEFs 'Update-Database'
throw $UpdatePowerShell
}
<#
.SYNOPSIS
Displays the migrations that have been applied to the target database.
.DESCRIPTION
Displays the migrations that have been applied to the target database.
.PARAMETER ProjectName
Specifies the project that contains the migration configuration type to be
used. If omitted, the default project selected in package manager console
is used.
.PARAMETER StartUpProjectName
Specifies the configuration file to use for named connection strings. If
omitted, the specified project's configuration file is used.
.PARAMETER ConfigurationTypeName
Specifies the migrations configuration to use. If omitted, migrations will
attempt to locate a single migrations configuration type in the target
project.
.PARAMETER ConnectionStringName
Specifies the name of a connection string to use from the application's
configuration file.
.PARAMETER ConnectionString
Specifies the connection string to use. If omitted, the context's
default connection will be used.
.PARAMETER ConnectionProviderName
Specifies the provider invariant name of the connection string.
.PARAMETER AppDomainBaseDirectory
Specifies the directory to use for the app-domain that is used for running Migrations
code such that the app-domain is able to find all required assemblies. This is an
advanced option that should only be needed if the solution contains several projects
such that the assemblies needed for the context and configuration are not all
referenced from either the project containing the context or the project containing
the migrations.
#>
function Get-Migrations(
$ProjectName,
$StartUpProjectName,
$ConfigurationTypeName,
$ConnectionStringName,
$ConnectionString,
$ConnectionProviderName,
$AppDomainBaseDirectory)
WarnIfOtherEFs 'Get-Migrations'
throw $UpdatePowerShell
}
function GetConfigPath($project)
{
$solution = Get-VSService 'Microsoft.VisualStudio.Shell.Interop.SVsSolution' 'Microsoft.VisualStudio.Shell.Interop.IVsSolution'
$hierarchy = $null
$hr = $solution.GetProjectOfUniqueName($project.UniqueName, [ref] $hierarchy)
[Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr)
$aggregatableProject = Get-Interface $hierarchy 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject'
if (!$aggregatableProject)
{
$projectTypes = $project.Kind
}
else
{
$projectTypeGuids = $null
$hr = $aggregatableProject.GetAggregateProjectTypeGuids([ref] $projectTypeGuids)
[Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr)
$projectTypes = $projectTypeGuids.Split(';')
}
$configFileName = 'app.config'
foreach ($projectType in $projectTypes)
{
if ($projectType -in '{349C5851-65DF-11DA-9384-00065B846F21}', '{E24C65DC-7377-472B-9ABA-BC803B73C61A}')
{
$configFileName = 'web.config'
break
}
}
try
{
return $project.ProjectItems.Item($configFileName).Properties.Item('FullPath').Value
}
catch
{
return $null
}
}
function WarnIfOtherEFs($cmdlet)
{
if (Get-Module 'EntityFrameworkCore')
{
Write-Warning "Both Entity Framework 6 and Entity Framework Core are installed. The Entity Framework 6 tools are running. Use 'EntityFrameworkCore\$cmdlet' for Entity Framework Core."
}
if (Get-Module 'EntityFramework')
{
Write-Warning "A version of Entity Framework older than 6.3 is also installed. The newer tools are running. Use 'EntityFramework\$cmdlet' for the older version."
}
}
Export-ModuleMember 'Add-EFDefaultConnectionFactory', 'Add-EFProvider', 'Add-Migration', 'Enable-Migrations', 'Get-Migrations', 'Update-Database' -Variable 'InitialDatabase'
# SIG # Begin signature block
# MIIjiQYJKoZIhvcNAQcCoIIjejCCI3YCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBCukGtqR95vOzB
# mTRxRgJFbcuurrr/NN2TQIASywaOO6CCDYUwggYDMIID66ADAgECAhMzAAABUptA
# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEe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dILEw+neBBHiNhNivEH0flmw
# UnaYpZH2lNy5ldHfV+hCc4QCDB2CHj9qPeGgEJS+n0ZcFO6Hm4D5mNvfR23qnM94
# Ijbqi6AGtjL/d+MdNPcqJFcUPBVHQJDEcQTyoZBFme4UqYPr/gkRSwNQ7sASCYdK
# hZ7F9GEj2CiayE5NqMADUnRDyyMJLUoCiACRpVg=
# SIG # End signature block

View File

@ -0,0 +1,323 @@
#
# Module manifest for module 'EntityFramework6'
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'EntityFramework6.psm1'
# Version number of this module.
ModuleVersion = '6.4.4'
# Supported PSEditions
# CompatiblePSEditions = @()
# ID used to uniquely identify this module
GUID = 'ca09d46c-54a3-4aa3-9a62-cd8c94d6b6b9'
# Author of this module
Author = 'Entity Framework Team'
# Company or vendor of this module
CompanyName = 'Microsoft Corporation'
# Copyright statement for this module
Copyright = '(c) Microsoft Corporation. All rights reserved.'
# Description of the functionality provided by this module
Description = 'EntityFramework PowerShell module for use within NuGet''s Package Manager Console'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'
# Name of the Windows PowerShell host required by this module
PowerShellHostName = 'Package Manager Host'
# Minimum version of the Windows PowerShell host required by this module
PowerShellHostVersion = '1.2'
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.0'
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = (
'Add-EFDefaultConnectionFactory',
'Add-EFProvider',
'Add-Migration',
'Enable-Migrations',
'Get-Migrations',
'Update-Database'
)
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
# Variables to export from this module
VariablesToExport = '*'
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()
# DSC resources to export from this module
# DscResourcesToExport = @()
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @()
# A URL to the license for this module.
# LicenseUri = ''
# A URL to the main website for this project.
# ProjectUri = ''
# A URL to an icon representing this module.
# IconUri = ''
# ReleaseNotes of this module
# ReleaseNotes = ''
} # End of PSData hashtable
} # End of PrivateData hashtable
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}
# SIG # Begin signature block
# MIIkXwYJKoZIhvcNAQcCoIIkUDCCJEwCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCcG0KjFL1QWHcc
# ieFGXdhIsk7IeHsfD93SuoZCwJ+nH6CCDYUwggYDMIID66ADAgECAhMzAAABUptA
# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR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kEMSIEIAyAZXxY
# xS9hHHh9BPYXPuaSgjyv5xF4mZLXsdyi0QHtMIHiBgsqhkiG9w0BCRACDDGB0jCB
# zzCBzDCBsQQUs0Yef0dI8yhMiFS2cxh4FtwVCn0wgZgwgYCkfjB8MQswCQYDVQQG
# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG
# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg
# VGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAQQJAXUIWIctKQAAAAABBDAWBBS6KRcG
# MO6TSAD4ldO5lf1QBYOnjTANBgkqhkiG9w0BAQsFAASCAQBCdLtpeDxrqA0pkyDv
# MCD7/VYYdMuQhoXQ90sYgx0tBr7CMNBZzd14daBMHpjWvB4lBsgcIsbt5P5Us9fV
# 6LQjfVjkRv+QQPSiT6n8DXGOaVY82irsBExvAGGIHfyrLF86Z2gu2sVQhoy0a7ab
# XE0uuAc2pakzaH7JqDgIwTmJwTVwMxqdMtl7AAeGoh1wrtt9G7rR2IqRRnLBEic6
# PHqwfeuQTXp951s5morS6uyekb9j0hqAw7jnlM/WpSp3DvD6wc/Q1EVrNpxiADAT
# HEavZS9jIsX7xYpVm+YGl7/tOBm1R6ra67YL9+iPHOZMsvOQ+q94rgpJJVpYKa6O
# APYU
# SIG # End signature block

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,13 @@
___
/ __|
___ ___ | |__
| __|| __| | _ \
| _| | _| | |_| |
|___||_| \___/
TOPIC TOPIC
about_EntityFramework about_EntityFramework6
SHORT DESCRIPTION SHORT DESCRIPTION
Provides information about Entity Framework commands. Provides information about Entity Framework commands.
@ -37,10 +45,6 @@ LONG DESCRIPTION
default connection factory in the default connection factory in the
project config file. project config file.
Initialize-EFConfiguration Initializes the Entity Framework
section in the project config file and
sets defaults.
SEE ALSO SEE ALSO
Enable-Migrations Enable-Migrations
Add-Migration Add-Migration

View File

@ -0,0 +1,231 @@
param($installPath, $toolsPath, $package, $project)
# NB: Not set for scripts in PowerShell 2.0
if (!$PSScriptRoot)
{
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
}
if ($PSVersionTable.PSVersion -lt '3.0')
{
Import-Module (Join-Path $PSScriptRoot 'EntityFramework6.PS2.psd1')
return
}
$importedModule = Get-Module 'EntityFramework6'
$moduleToImport = Test-ModuleManifest (Join-Path $PSScriptRoot 'EntityFramework6.psd1')
$import = $true
if ($importedModule)
{
if ($importedModule.Version -le $moduleToImport.Version)
{
Remove-Module 'EntityFramework6'
}
else
{
$import = $false
}
}
if ($import)
{
Import-Module $moduleToImport
}
# SIG # Begin signature block
# MIIkWwYJKoZIhvcNAQcCoIIkTDCCJEgCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAWXs44Wb6F5hXF
# Tnl/wiBkO/u4wSvVRemf0sjDnTNTeqCCDYEwggX/MIID56ADAgECAhMzAAABUZ6N
# j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ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N0YW1wIFBDQSAyMDEwAhMzAAABA+pOK3i2KieTAAAAAAEDMBYEFPRqdmYGpXMF
# K/nz1xrwrVH/SicLMA0GCSqGSIb3DQEBCwUABIIBAD95lLQdmSib58P6fV8RnD2Q
# OkK9eO7FmOdDrcq4l228tMVftnJVr7o0PhITJQogBpTMpzGRAK2zwxtwOXVRuRrK
# is1rTPKfc8+280VusNXHzJ1PxNDIuxtpkb4AhFIMcEAGWAGfZSMspIT2MKHUL59i
# fnBErvjcz0F4eiVPR7I5sHoA6CD8rPLvgLxkzB3BFUUus2KxuBkpVwXPxYT9g4Wt
# qDz/Lwsf4/m5hftNLDpOtiuYvq61/kPlsJ/OVkKwVHKnM9XhybFAJfixgMJzOg9u
# +y6hDWYX4HRtqZIdfJ6fcqqyyOdZU7gCpTtEhUaQbCmW7CqnZyh5L0WYxUnV574=
# SIG # End signature block

View File

@ -0,0 +1,223 @@
param($installPath, $toolsPath, $package, $project)
if (Get-Service | ?{ $_.Name -eq 'MSSQL$SQLEXPRESS' -and $_.Status -eq 'Running' })
{
Add-EFDefaultConnectionFactory $project 'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework'
}
else
{
$localDbVersion = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions' -ErrorAction SilentlyContinue |
%{ $_.PSChildName } |
sort -Descending |
select -First 1
if (!$localDbVersion -or $localDbVersion -ge '12.0')
{
$localDbVersion = 'mssqllocaldb'
}
else
{
$localDbVersion = "v$localDbVersion"
}
Add-EFDefaultConnectionFactory $project 'System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework' -ConstructorArguments $localDbVersion
}
$project.Object.References |
?{ $_.Identity -eq 'System.Data.Entity' } |
%{ $_.Remove() }
Write-Host
Write-Host "Type 'get-help EntityFramework6' to see all available Entity Framework commands."
# SIG # Begin signature block
# MIIjigYJKoZIhvcNAQcCoIIjezCCI3cCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# Bg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nFpU82HDoMIH6BgsqhkiG9w0BCRACLzGB
# 6jCB5zCB5DCBvQQgVwM2JDO6oQwoDehG8V22bUdxzZDWWhkjGB83y+TSrKowgZgw
# gYCkfjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE
# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD
# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAQpSyDkBUtFw
# SwAAAAABCjAiBCAPcA2FUPvx4YVbNm4dewSIE482jr5eh5w3As4qnw+bGjANBgkq
# hkiG9w0BAQsFAASCAQAjsYHBCGmxsZTzdg7kleQ0b44SH5aFvErimvb/0Ues1/K3
# yW4lHf2Fo7VMXMQ4Yh6QPcaHt5th75b4X7XF3XRXr7mZ5YvKlNQI9z+x92y8CzGm
# bmHPK1HXro0MCcyzDDlNgMwKoeixvhS4xDUWdJEKZkL7U/KbgEBWabys82WnkMgB
# 8Z6UDGULt0NPKd3CPQrJ4CbX3YEUr2jJzbEEv7DFsmdjqEngImndMw8Fs2JaUCVj
# +Z+kaWU4TQNqocF7tt3NS4lo1xv5E9eWlxJ3VO9T3uPTSat5Q0XHwcULL1kONqIO
# VPUIwIBu1SzO7zrG3HTS54NQG1k7LkR5M+2gco5B
# SIG # End signature block

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp3.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.0.0"
}
}
}