本文整理汇总了C#中EntityRef类的典型用法代码示例。如果您正苦于以下问题:C# EntityRef类的具体用法?C# EntityRef怎么用?C# EntityRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EntityRef类属于命名空间,在下文中一共展示了EntityRef类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: EventOutgoingReferral
public EventOutgoingReferral()
{
this._Organisation = default(EntityRef<Organisation>);
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.EventOutgoingReferral.Generated.cs
示例2: ReportPartDetail
public ReportPartDetail(
EntityRef reportPartRef,
int index,
bool isAddendum,
EnumValueInfo status,
DateTime creationTime,
DateTime? preliminaryTime,
DateTime? completedTime,
DateTime? cancelledTime,
StaffSummary supervisor,
StaffSummary interpretedBy,
StaffSummary transcribedBy,
StaffSummary transcriptionSupervisor,
StaffSummary verifiedBy,
EnumValueInfo transcriptionRejectReason,
Dictionary<string, string> extendedProperties)
{
this.ReportPartRef = reportPartRef;
this.Index = index;
this.IsAddendum = isAddendum;
this.Status = status;
this.CreationTime = creationTime;
this.PreliminaryTime = preliminaryTime;
this.CompletedTime = completedTime;
this.CancelledTime = cancelledTime;
this.Supervisor = supervisor;
this.InterpretedBy = interpretedBy;
this.TranscribedBy = transcribedBy;
this.TranscriptionSupervisor = transcriptionSupervisor;
this.VerifiedBy = verifiedBy;
this.TranscriptionRejectReason = transcriptionRejectReason;
this.ExtendedProperties = extendedProperties;
}
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:33,代码来源:ReportPartDetail.cs
示例3: ClientQuoting
public ClientQuoting()
{
this._ActionPropertyClientQuotings = new EntitySet<ActionPropertyClientQuoting>(new Action<ActionPropertyClientQuoting>(this.attach_ActionPropertyClientQuotings), new Action<ActionPropertyClientQuoting>(this.detach_ActionPropertyClientQuotings));
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.ClientQuoting.Generated.cs
示例4: ClientAllergy
public ClientAllergy()
{
this._Client = default(EntityRef<Client>);
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.ClientAllergy.Generated.cs
示例5: CurrencyRate
/// <summary>Initializes a new instance of the <see cref="CurrencyRate"/> class.</summary>
public CurrencyRate()
{
_currency = default(EntityRef<Currency>);
_currency1 = default(EntityRef<Currency>);
_salesOrderHeaders = new EntitySet<SalesOrderHeader>(new Action<SalesOrderHeader>(this.Attach_SalesOrderHeaders), new Action<SalesOrderHeader>(this.Detach_SalesOrderHeaders) );
OnCreated();
}
开发者ID:modulexcite,项目名称:LinqToSQL2,代码行数:8,代码来源:CurrencyRate.cs
示例6: Comment
protected Comment()
{
_post = new EntityRef<Post>(
delegate(Post p) { p.Comments.Add(this); },
delegate(Post p) { p.Comments.Remove(this); }
);
}
开发者ID:rcarrillopadron,项目名称:nhibernategenerics,代码行数:7,代码来源:Comment.cs
示例7: LoadPatientProfile
public PatientProfile LoadPatientProfile(EntityRef profileRef)
{
IPatientProfileBroker profileBroker = this.CurrentContext.GetBroker<IPatientProfileBroker>();
PatientProfile patient = profileBroker.Load(profileRef);
return patient;
}
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:PatientAdminService.cs
示例8: SpecialOfferProduct
/// <summary>Initializes a new instance of the <see cref="SpecialOfferProduct"/> class.</summary>
public SpecialOfferProduct()
{
_product = default(EntityRef<Product>);
_salesOrderDetails = new EntitySet<SalesOrderDetail>(new Action<SalesOrderDetail>(this.Attach_SalesOrderDetails), new Action<SalesOrderDetail>(this.Detach_SalesOrderDetails) );
_specialOffer = default(EntityRef<SpecialOffer>);
OnCreated();
}
开发者ID:modulexcite,项目名称:LinqToSQL2,代码行数:8,代码来源:SpecialOfferProduct.cs
示例9: RbNomenclatureAnalog
public RbNomenclatureAnalog()
{
this._RbNomenclatures = new EntitySet<RbNomenclature>(new Action<RbNomenclature>(this.attach_RbNomenclatures), new Action<RbNomenclature>(this.detach_RbNomenclatures));
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.RbNomenclatureAnalog.Generated.cs
示例10: GetNotes
public IEnumerable<Note> GetNotes( EntityRef<Entity> owner, int max )
{
if ( owner.IsNull )
throw new ArgumentNullException( "owner" );
return StorageContext.Current.Find<Note>( note => note.Owner == owner, max );
}
开发者ID:jogibear9988,项目名称:ormbattle,代码行数:7,代码来源:NoteProcesses.cs
示例11: ActionProperty
public ActionProperty()
{
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
this._Action = default(EntityRef<Action>);
this._ActionPropertyType = default(EntityRef<ActionPropertyType>);
this._RbUnit = default(EntityRef<RbUnit>);
this._ActionPropertyActions = new EntitySet<ActionPropertyAction>(new Action<ActionPropertyAction>(this.attach_ActionPropertyActions), new Action<ActionPropertyAction>(this.detach_ActionPropertyActions));
this._ActionPropertyArterialPressures = new EntitySet<ActionPropertyArterialPressure>(new Action<ActionPropertyArterialPressure>(this.attach_ActionPropertyArterialPressures), new Action<ActionPropertyArterialPressure>(this.detach_ActionPropertyArterialPressures));
this._ActionPropertyBlankNumbers = new EntitySet<ActionPropertyBlankNumber>(new Action<ActionPropertyBlankNumber>(this.attach_ActionPropertyBlankNumbers), new Action<ActionPropertyBlankNumber>(this.detach_ActionPropertyBlankNumbers));
this._ActionPropertyBlankSerials = new EntitySet<ActionPropertyBlankSerial>(new Action<ActionPropertyBlankSerial>(this.attach_ActionPropertyBlankSerials), new Action<ActionPropertyBlankSerial>(this.detach_ActionPropertyBlankSerials));
this._ActionPropertyClientQuotings = new EntitySet<ActionPropertyClientQuoting>(new Action<ActionPropertyClientQuoting>(this.attach_ActionPropertyClientQuotings), new Action<ActionPropertyClientQuoting>(this.detach_ActionPropertyClientQuotings));
this._ActionPropertyDates = new EntitySet<ActionPropertyDate>(new Action<ActionPropertyDate>(this.attach_ActionPropertyDates), new Action<ActionPropertyDate>(this.detach_ActionPropertyDates));
this._ActionPropertyDoubles = new EntitySet<ActionPropertyDouble>(new Action<ActionPropertyDouble>(this.attach_ActionPropertyDoubles), new Action<ActionPropertyDouble>(this.detach_ActionPropertyDoubles));
this._ActionPropertyHospitalBeds_Id = new EntitySet<ActionPropertyHospitalBed>(new Action<ActionPropertyHospitalBed>(this.attach_ActionPropertyHospitalBeds_Id), new Action<ActionPropertyHospitalBed>(this.detach_ActionPropertyHospitalBeds_Id));
this._ActionPropertyHospitalBeds_Id1 = new EntitySet<ActionPropertyHospitalBed>(new Action<ActionPropertyHospitalBed>(this.attach_ActionPropertyHospitalBeds_Id1), new Action<ActionPropertyHospitalBed>(this.detach_ActionPropertyHospitalBeds_Id1));
this._ActionPropertyImages = new EntitySet<ActionPropertyImage>(new Action<ActionPropertyImage>(this.attach_ActionPropertyImages), new Action<ActionPropertyImage>(this.detach_ActionPropertyImages));
this._ActionPropertyIntegers = new EntitySet<ActionPropertyInteger>(new Action<ActionPropertyInteger>(this.attach_ActionPropertyIntegers), new Action<ActionPropertyInteger>(this.detach_ActionPropertyIntegers));
this._ActionPropertyJobTickets = new EntitySet<ActionPropertyJobTicket>(new Action<ActionPropertyJobTicket>(this.attach_ActionPropertyJobTickets), new Action<ActionPropertyJobTicket>(this.detach_ActionPropertyJobTickets));
this._ActionPropertyOrgStructures = new EntitySet<ActionPropertyOrgStructure>(new Action<ActionPropertyOrgStructure>(this.attach_ActionPropertyOrgStructures), new Action<ActionPropertyOrgStructure>(this.detach_ActionPropertyOrgStructures));
this._ActionPropertyOrganisations = new EntitySet<ActionPropertyOrganisation>(new Action<ActionPropertyOrganisation>(this.attach_ActionPropertyOrganisations), new Action<ActionPropertyOrganisation>(this.detach_ActionPropertyOrganisations));
this._ActionPropertyPeople = new EntitySet<ActionPropertyPerson>(new Action<ActionPropertyPerson>(this.attach_ActionPropertyPeople), new Action<ActionPropertyPerson>(this.detach_ActionPropertyPeople));
this._ActionPropertyPulses = new EntitySet<ActionPropertyPulse>(new Action<ActionPropertyPulse>(this.attach_ActionPropertyPulses), new Action<ActionPropertyPulse>(this.detach_ActionPropertyPulses));
this._ActionPropertyStrings = new EntitySet<ActionPropertyString>(new Action<ActionPropertyString>(this.attach_ActionPropertyStrings), new Action<ActionPropertyString>(this.detach_ActionPropertyStrings));
this._ActionPropertyTemperatures = new EntitySet<ActionPropertyTemperature>(new Action<ActionPropertyTemperature>(this.attach_ActionPropertyTemperatures), new Action<ActionPropertyTemperature>(this.detach_ActionPropertyTemperatures));
this._ActionPropertyTimes = new EntitySet<ActionPropertyTime>(new Action<ActionPropertyTime>(this.attach_ActionPropertyTimes), new Action<ActionPropertyTime>(this.detach_ActionPropertyTimes));
this._ActionPropertyRbDistricts = new EntitySet<ActionPropertyRbDistrict>(new Action<ActionPropertyRbDistrict>(this.attach_ActionPropertyRbDistricts), new Action<ActionPropertyRbDistrict>(this.detach_ActionPropertyRbDistricts));
this._ActionPropertyRbFinances = new EntitySet<ActionPropertyRbFinance>(new Action<ActionPropertyRbFinance>(this.attach_ActionPropertyRbFinances), new Action<ActionPropertyRbFinance>(this.detach_ActionPropertyRbFinances));
this._ActionPropertyRbHospitalBedProfiles = new EntitySet<ActionPropertyRbHospitalBedProfile>(new Action<ActionPropertyRbHospitalBedProfile>(this.attach_ActionPropertyRbHospitalBedProfiles), new Action<ActionPropertyRbHospitalBedProfile>(this.detach_ActionPropertyRbHospitalBedProfiles));
this._ActionPropertyRbReasonOfAbsences = new EntitySet<ActionPropertyRbReasonOfAbsence>(new Action<ActionPropertyRbReasonOfAbsence>(this.attach_ActionPropertyRbReasonOfAbsences), new Action<ActionPropertyRbReasonOfAbsence>(this.detach_ActionPropertyRbReasonOfAbsences));
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:32,代码来源:S11DataContext.ActionProperty.Generated.cs
示例12: RbReasonOfAbsence
public RbReasonOfAbsence()
{
this._ActionPropertyRbReasonOfAbsences = new EntitySet<ActionPropertyRbReasonOfAbsence>(new Action<ActionPropertyRbReasonOfAbsence>(this.attach_ActionPropertyRbReasonOfAbsences), new Action<ActionPropertyRbReasonOfAbsence>(this.detach_ActionPropertyRbReasonOfAbsences));
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.RbReasonOfAbsence.Generated.cs
示例13: BusinessEntityAddress
/// <summary>Initializes a new instance of the <see cref="BusinessEntityAddress"/> class.</summary>
public BusinessEntityAddress()
{
_address = default(EntityRef<Address>);
_addressType = default(EntityRef<AddressType>);
_businessEntity = default(EntityRef<BusinessEntity>);
OnCreated();
}
开发者ID:tdhung80,项目名称:RawDataAccessBencher,代码行数:8,代码来源:BusinessEntityAddress.cs
示例14: ECROperation
public ECROperation()
{
this._ECRCheckItems = new EntitySet<ECRCheckItem>(new Action<ECRCheckItem>(this.attach_ECRCheckItems), new Action<ECRCheckItem>(this.detach_ECRCheckItems));
this._Person = default(EntityRef<Person>);
this._RbECROperationType = default(EntityRef<RbECROperationType>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.ECROperation.Generated.cs
示例15: AuthorityGroupSummary
public AuthorityGroupSummary(EntityRef authorityGroupRef, string name, string description, bool dataGroup)
{
AuthorityGroupRef = authorityGroupRef;
Name = name;
Description = description;
DataGroup = dataGroup;
}
开发者ID:nhannd,项目名称:Xian,代码行数:7,代码来源:AuthorityGroupSummary.cs
示例16: ProcedureStepDetail
public ProcedureStepDetail(
EntityRef procedureStepRef,
string procedureStepName,
string stepClassName,
string description,
EnumValueInfo state,
DateTime? creationTime,
DateTime? scheduledStartTime,
DateTime? startTime,
DateTime? endTime,
StaffSummary scheduledPerformer,
StaffSummary performer,
ModalitySummary modality
)
{
this.ProcedureStepRef = procedureStepRef;
this.ProcedureStepName = procedureStepName;
this.StepClassName = stepClassName;
this.Description = description;
this.State = state;
this.CreationTime = creationTime;
this.ScheduledStartTime = scheduledStartTime;
this.StartTime = startTime;
this.EndTime = endTime;
this.Modality = modality;
this.ScheduledPerformer = scheduledPerformer;
this.Performer = performer;
}
开发者ID:nhannd,项目名称:Xian,代码行数:28,代码来源:ProcedureStepDetail.cs
示例17: BillOfMaterial
/// <summary>Initializes a new instance of the <see cref="BillOfMaterial"/> class.</summary>
public BillOfMaterial()
{
_product = default(EntityRef<Product>);
_product1 = default(EntityRef<Product>);
_unitMeasure = default(EntityRef<UnitMeasure>);
OnCreated();
}
开发者ID:tdhung80,项目名称:RawDataAccessBencher,代码行数:8,代码来源:BillOfMaterial.cs
示例18: JobTicket
public JobTicket()
{
this._ActionPropertyJobTickets = new EntitySet<ActionPropertyJobTicket>(new Action<ActionPropertyJobTicket>(this.attach_ActionPropertyJobTickets), new Action<ActionPropertyJobTicket>(this.detach_ActionPropertyJobTickets));
this._EQueueTicket = default(EntityRef<EQueueTicket>);
this._Job = default(EntityRef<Job>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.JobTicket.Generated.cs
示例19: Call
public static AstGetSet Call(this IAstFactory factory, ISourcePosition position, EntityRef entity,
PCall call = PCall.Get, params AstExpr[] arguments)
{
var c = factory.IndirectCall(position, factory.Reference(position, entity), call);
c.Arguments.AddRange(arguments);
return c;
}
开发者ID:SealedSun,项目名称:prx,代码行数:7,代码来源:AstFactoryExtensions.cs
示例20: RbBloodType
public RbBloodType()
{
this._Clients = new EntitySet<Client>(new Action<Client>(this.attach_Clients), new Action<Client>(this.detach_Clients));
this._Person_CreatePersonId = default(EntityRef<Person>);
this._Person_ModifyPersonId = default(EntityRef<Person>);
OnCreated();
}
开发者ID:vvboborykin,项目名称:VistaMedTools,代码行数:7,代码来源:S11DataContext.RbBloodType.Generated.cs
注:本文中的EntityRef类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论