public static DA.CpuArchitecture ToEntity(this DT.CpuArchitecture source) { switch (source) { case DT.CpuArchitecture.x64: return(DA.CpuArchitecture.x64); case DT.CpuArchitecture.x86: return(DA.CpuArchitecture.x86); default: return(DA.CpuArchitecture.x86); } }
public static DB.CpuArchitecture ToEntity(DT.CpuArchitecture source) { if (source == DT.CpuArchitecture.x64) { return(DB.CpuArchitecture.x64); } else if (source == DT.CpuArchitecture.x86) { return(DB.CpuArchitecture.x86); } else { return(DB.CpuArchitecture.x86); } }