Browse Source

JobMiniViewModel and displayformat

confirmation-email
J 11 years ago
parent
commit
f92aedef42
7 changed files with 202 additions and 1 deletions
  1. +18
    -0
      Sevomin.Models/JobMiniViewModel.cs
  2. +2
    -0
      Sevomin.Models/JobParameter.cs
  3. +1
    -1
      Sevomin.Models/Migrations/201403310557099_Job CreateDate.cs
  4. +29
    -0
      Sevomin.Models/Migrations/201403310658336_DispalyFormat.Designer.cs
  5. +18
    -0
      Sevomin.Models/Migrations/201403310658336_DispalyFormat.cs
  6. +126
    -0
      Sevomin.Models/Migrations/201403310658336_DispalyFormat.resx
  7. +8
    -0
      Sevomin.Models/Sevomin.Models.csproj

+ 18
- 0
Sevomin.Models/JobMiniViewModel.cs View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//استخدام نیروی «کنترل پروژه» با ×× سال سابقه ×× دارای ×مدرک× ×× برای کار در ×کشور×شهر×
namespace Sevomin.Models
{
public class JobMiniViewModel
{
public string JobTitle { get; set; }
public string Country { get; set; }
public string City { get; set; }
public Tuple<string,string> Experience { get; set; }
}
}

+ 2
- 0
Sevomin.Models/JobParameter.cs View File

@ -28,6 +28,8 @@ namespace Sevomin.Models
public byte Moscow { get; set; }
public string DisplayFormat { get; set; }
public virtual Parameter Parameter { get; set; }
public virtual Job Job { get; set; }


+ 1
- 1
Sevomin.Models/Migrations/201403310557099_Job CreateDate.cs View File

@ -15,4 +15,4 @@ namespace Sevomin.Models.Migrations
DropColumn("dbo.Jobs", "CreateDate");
}
}
}
}

+ 29
- 0
Sevomin.Models/Migrations/201403310658336_DispalyFormat.Designer.cs View File

@ -0,0 +1,29 @@
// <auto-generated />
namespace Sevomin.Models.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-30225")]
public sealed partial class DispalyFormat : IMigrationMetadata
{
private readonly ResourceManager Resources = new ResourceManager(typeof(DispalyFormat));
string IMigrationMetadata.Id
{
get { return "201403310658336_DispalyFormat"; }
}
string IMigrationMetadata.Source
{
get { return null; }
}
string IMigrationMetadata.Target
{
get { return Resources.GetString("Target"); }
}
}
}

+ 18
- 0
Sevomin.Models/Migrations/201403310658336_DispalyFormat.cs View File

@ -0,0 +1,18 @@
namespace Sevomin.Models.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class DispalyFormat : DbMigration
{
public override void Up()
{
AddColumn("dbo.JobParameters", "DisplayFormat", c => c.String());
}
public override void Down()
{
DropColumn("dbo.JobParameters", "DisplayFormat");
}
}
}

+ 126
- 0
Sevomin.Models/Migrations/201403310658336_DispalyFormat.resx
File diff suppressed because it is too large
View File


+ 8
- 0
Sevomin.Models/Sevomin.Models.csproj View File

@ -71,6 +71,7 @@
<Compile Include="Helpers\SevominUserStore.cs" />
<Compile Include="Helpers\SevominUserValidator.cs" />
<Compile Include="Job.cs" />
<Compile Include="JobMiniViewModel.cs" />
<Compile Include="JobParameter.cs" />
<Compile Include="JobParameterViewModel.cs" />
<Compile Include="JobViewModel.cs" />
@ -119,6 +120,10 @@
<Compile Include="Migrations\201403310557099_Job CreateDate.Designer.cs">
<DependentUpon>201403310557099_Job CreateDate.cs</DependentUpon>
</Compile>
<Compile Include="Migrations\201403310658336_DispalyFormat.cs" />
<Compile Include="Migrations\201403310658336_DispalyFormat.Designer.cs">
<DependentUpon>201403310658336_DispalyFormat.cs</DependentUpon>
</Compile>
<Compile Include="Migrations\Configuration.cs" />
<Compile Include="Parameter.cs" />
<Compile Include="ParameterValue.cs" />
@ -169,6 +174,9 @@
<EmbeddedResource Include="Migrations\201403310557099_Job CreateDate.resx">
<DependentUpon>201403310557099_Job CreateDate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Migrations\201403310658336_DispalyFormat.resx">
<DependentUpon>201403310658336_DispalyFormat.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.


Loading…
Cancel
Save