|
|
|
@@ -9,7 +9,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,AccountID,Name,Field,Email,PhoneNumber,PostalCode,Country,StateOrRegion,City,IsActive)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@AccountID,@Name,@Field,@Email,@PhoneNumber,@PostalCode,@Country,@StateOrRegion,@City,@IsActive);
|
|
|
|
|
(@ID,@AccountID,@Name,@Field,@Email,@PhoneNumber,@PostalCode,@Country,@StateOrRegion,@City,@IsActive)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
AccountID = @AccountID,
|
|
|
|
|
Name = @Name,
|
|
|
|
@@ -45,7 +45,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,ResumeExperienceID,JobFunction)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@ResumeExperienceID,@JobFunction);
|
|
|
|
|
(@ID,@ResumeID,@ResumeExperienceID,@JobFunction)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
ResumeExperienceID = @ResumeExperienceID,
|
|
|
|
@@ -68,7 +68,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,JobTitle,Company,PostalCode,Country,StateOrRegion,City,DateStarted,StillEmployed,DateEnded)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@JobTitle,@Company,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillEmployed,@DateEnded);
|
|
|
|
|
(@ID,@ResumeID,@JobTitle,@Company,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillEmployed,@DateEnded)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
JobTitle = @JobTitle,
|
|
|
|
@@ -102,7 +102,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,ResumeMilitaryID,Achievement)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@ResumeMilitaryID,@Achievement);
|
|
|
|
|
(@ID,@ResumeID,@ResumeMilitaryID,@Achievement)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
ResumeMilitaryID = @ResumeMilitaryID,
|
|
|
|
@@ -126,7 +126,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,Country,Rank,DateStarted,StillServing,DateEnded)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@Country,@Rank,@DateStarted,@StillServing,@DateEnded);
|
|
|
|
|
(@ID,@ResumeID,@Country,@Rank,@DateStarted,@StillServing,@DateEnded)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
Country = @Country,
|
|
|
|
@@ -154,7 +154,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,DegreeType,DegreeField,School,PostalCode,Country,StateOrRegion,City,DateStarted,StillStudying,DateEnded)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@DegreeType,@DegreeField,@School,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillStudying,@DateEnded);
|
|
|
|
|
(@ID,@ResumeID,@DegreeType,@DegreeField,@School,@PostalCode,@Country,@StateOrRegion,@City,@DateStarted,@StillStudying,@DateEnded)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
DegreeType = @DegreeType,
|
|
|
|
@@ -193,7 +193,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,Name,Description)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@Name,@Description);
|
|
|
|
|
(@ID,@ResumeID,@Name,@Description)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
Name = @Name,
|
|
|
|
@@ -216,7 +216,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,Language,Proficiency)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@Language,@Proficiency);
|
|
|
|
|
(@ID,@ResumeID,@Language,@Proficiency)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
Language = @Language,
|
|
|
|
@@ -239,7 +239,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,Name,VerificationURL,Description)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@Name,@VerificationURL,@Description);
|
|
|
|
|
(@ID,@ResumeID,@Name,@VerificationURL,@Description)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
Name = @DegreeNameType,
|
|
|
|
@@ -264,7 +264,7 @@ namespace BoredCareers.Services.DatabaseService {
|
|
|
|
|
INSERT INTO Resume
|
|
|
|
|
(ID,ResumeID,Name,URL,Description)
|
|
|
|
|
VALUES
|
|
|
|
|
(@ID,@ResumeID,@Name,@URL,@Description);
|
|
|
|
|
(@ID,@ResumeID,@Name,@URL,@Description)
|
|
|
|
|
ON DUPLICATE KEY UPDATE
|
|
|
|
|
ResumeID = @ResumeID,
|
|
|
|
|
Name = @Name,
|
|
|
|
|