Table of Contents

Class ProductService

Namespace: Casewhere.Runtime.SystemDataObjects
Assembly: Casewhere.Runtime.dll

public class ProductService : ISystemDataObjectService

Inheritance

objectProductService

Implements

ISystemDataObjectService

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<ProductService>(ProductService)

Constructors

ProductService(IProductRepository, IDomainRepository)

public ProductService(IProductRepository productRepository, IDomainRepository domainRepository)

Parameters

productRepository IProductRepository

domainRepository IDomainRepository

Methods

Accept(string)

public bool Accept(string entityName)

Parameters

entityName string

Returns

bool

Create(JObject)

public DataObject Create(JObject data)

Parameters

data JObject

Returns

DataObject

Delete(Guid)

public void Delete(Guid id)

Parameters

id Guid

Load(Guid)

public DataObject Load(Guid id)

Parameters

id Guid

Returns

DataObject

Update(Guid, JObject)

public void Update(Guid id, JObject data)

Parameters

id Guid

data JObject