Show / Hide Table of Contents

Class UofxService.BASE.JobFunc

職務

Inheritance
System.Object
UofxService.BASE.JobFunc
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ede.Uofx.PubApi.Sdk.NetStd.Service
Assembly: Ede.Uofx.PubApi.Sdk.NetStd.dll
Syntax
public static class JobFunc

Methods

View Source

Create(JobFuncViewModel)

建立職務類別的方法。

Declaration
public static async Task<bool> Create(JobFuncViewModel model)
Parameters
Type Name Description
JobFuncViewModel model

職務類別的model。

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

表示是否成功建立職務類別的布林值。

View Source

Delete(JobFuncDeleteModel)

刪除職務類別。

Declaration
public static async Task<bool> Delete(JobFuncDeleteModel model)
Parameters
Type Name Description
JobFuncDeleteModel model

要刪除的職務類別模型。

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

表示刪除操作是否成功的布林值。

View Source

Get()

根據指定的 corpCode 檢索 JobFuncViewModel 物件的集合。

Declaration
public static async Task<IEnumerable<JobFuncViewModel>> Get()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<JobFuncViewModel>>

JobFuncViewModel 物件的集合。

View Source

Get(String)

根據指定的 corpCode 檢索 JobFuncViewModel 物件的集合。

Declaration
[Obsolete("企業代碼不須給值,請改用 Get()")]
public static async Task<IEnumerable<JobFuncViewModel>> Get(string corpCode)
Parameters
Type Name Description
System.String corpCode

用於篩選 JobFuncViewModel 物件的 corpCode。

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<JobFuncViewModel>>

JobFuncViewModel 物件的集合。

View Source

Update(JobFuncUpdateModel)

更新職務類別。

Declaration
public static async Task<bool> Update(JobFuncUpdateModel model)
Parameters
Type Name Description
JobFuncUpdateModel model

職務類別更新模型。

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

表示更新是否成功的布林值。

View Source

UpdateSeq(JobFuncUpdateSeqModel)

更新職務類別順序。

Declaration
public static async Task<bool> UpdateSeq(JobFuncUpdateSeqModel model)
Parameters
Type Name Description
JobFuncUpdateSeqModel model

要更新的職務類別順序模型。

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

表示更新操作是否成功的布林值。

View Source

UpdateStatus(JobFuncUpdateStatusModel)

更新職務類別狀態。

Declaration
public static async Task<bool> UpdateStatus(JobFuncUpdateStatusModel model)
Parameters
Type Name Description
JobFuncUpdateStatusModel model

要更新的職務類別狀態模型。

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

表示更新操作是否成功的布林值。

  • View Source
In This Article
Back to top Generated by DocFX