本文整理汇总了C#中IPersistenceObject类的典型用法代码示例。如果您正苦于以下问题:C# IPersistenceObject类的具体用法?C# IPersistenceObject怎么用?C# IPersistenceObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IPersistenceObject类属于命名空间,在下文中一共展示了IPersistenceObject类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (AnotherTest)obj;
var otherImpl = (AnotherTestMemoryImpl)obj;
var me = (AnotherTest)this;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:AnotherTest.Memory.Designer.cs
示例2: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (RoleMembership)obj;
var otherImpl = (RoleMembershipMemoryImpl)obj;
var me = (RoleMembership)this;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:RoleMembership.Memory.Designer.cs
示例3: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (PropertyTestBase)obj;
var otherImpl = (PropertyTestBaseEfImpl)obj;
var me = (PropertyTestBase)this;
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:PropertyTestBase.Ef.Designer.cs
示例4: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (EnumParameter)obj;
var otherImpl = (EnumParameterEfImpl)obj;
var me = (EnumParameter)this;
this._fk_Enumeration = otherImpl._fk_Enumeration;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:9,代码来源:EnumParameter.Ef.Designer.cs
示例5: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (Task)obj;
var otherImpl = (TaskMemoryImpl)obj;
var me = (Task)this;
me.Aufwand = other.Aufwand;
me.ChangedOn = other.ChangedOn;
me.CreatedOn = other.CreatedOn;
me.DatumBis = other.DatumBis;
me.DatumVon = other.DatumVon;
me.ExportGuid = other.ExportGuid;
me.Name = other.Name;
this._fk_ChangedBy = otherImpl._fk_ChangedBy;
this._fk_CreatedBy = otherImpl._fk_CreatedBy;
this._fk_Projekt = otherImpl._fk_Projekt;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:18,代码来源:Task.Memory.Designer.cs
示例6: TestPhoneCompoundObjectMemoryImpl
public TestPhoneCompoundObjectMemoryImpl(IPersistenceObject parent, string property) : this(null, parent, property) {} // TODO: pass parent's lazyCtx
开发者ID:daszat,项目名称:zetbox,代码行数:1,代码来源:TestPhoneCompoundObject.Memory.Designer.cs
示例7: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (DateTimeProperty)obj;
var otherImpl = (DateTimePropertyMemoryImpl)obj;
var me = (DateTimeProperty)this;
me.DateTimeStyle = other.DateTimeStyle;
}
开发者ID:daszat,项目名称:zetbox,代码行数:9,代码来源:DateTimeProperty.Memory.Designer.cs
示例8: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (RelationEnd)obj;
var otherImpl = (RelationEndMemoryImpl)obj;
var me = (RelationEnd)this;
me.ChangedOn = other.ChangedOn;
me.CreatedOn = other.CreatedOn;
me.ExportGuid = other.ExportGuid;
me.HasPersistentOrder = other.HasPersistentOrder;
me.Multiplicity = other.Multiplicity;
me.RoleName = other.RoleName;
this._fk_AParent = otherImpl._fk_AParent;
this._fk_BParent = otherImpl._fk_BParent;
this._fk_ChangedBy = otherImpl._fk_ChangedBy;
this._fk_CreatedBy = otherImpl._fk_CreatedBy;
this._fk_Navigator = otherImpl._fk_Navigator;
this._fk_Type = otherImpl._fk_Type;
}
开发者ID:daszat,项目名称:zetbox,代码行数:20,代码来源:RelationEnd.Memory.Designer.cs
示例9: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (Module)obj;
var otherImpl = (ModuleMemoryImpl)obj;
var me = (Module)this;
me.ChangedOn = other.ChangedOn;
me.CreatedOn = other.CreatedOn;
me.Description = other.Description;
me.ExportGuid = other.ExportGuid;
me.Name = other.Name;
me.Namespace = other.Namespace;
me.SchemaName = other.SchemaName;
this._fk_ChangedBy = otherImpl._fk_ChangedBy;
this._fk_CreatedBy = otherImpl._fk_CreatedBy;
}
开发者ID:daszat,项目名称:zetbox,代码行数:17,代码来源:Module.Memory.Designer.cs
示例10: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (GroupMembership)obj;
var otherImpl = (GroupMembershipNHibernateImpl)obj;
var me = (GroupMembership)this;
this._fk_Group = otherImpl._fk_Group;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:9,代码来源:GroupMembership.NHibernate.Designer.cs
示例11: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (DoubleProperty)obj;
var otherImpl = (DoublePropertyNHibernateImpl)obj;
var me = (DoubleProperty)this;
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:DoubleProperty.NHibernate.Designer.cs
示例12: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (ClientReadOnlyConstraint)obj;
var otherImpl = (ClientReadOnlyConstraintNHibernateImpl)obj;
var me = (ClientReadOnlyConstraint)this;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:ClientReadOnlyConstraint.NHibernate.Designer.cs
示例13: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (ObjectReferenceProperty)obj;
var otherImpl = (ObjectReferencePropertyNHibernateImpl)obj;
var me = (ObjectReferenceProperty)this;
me.EagerLoading = other.EagerLoading;
me.IsInlineEditable = other.IsInlineEditable;
this._fk_RelationEnd = otherImpl._fk_RelationEnd;
}
开发者ID:daszat,项目名称:zetbox,代码行数:11,代码来源:ObjectReferenceProperty.NHibernate.Designer.cs
示例14: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (ConstraintInvocation)obj;
var otherImpl = (ConstraintInvocationEfImpl)obj;
var me = (ConstraintInvocation)this;
me.ExportGuid = other.ExportGuid;
me.MemberName = other.MemberName;
this._fk_Implementor = otherImpl._fk_Implementor;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:11,代码来源:ConstraintInvocation.Ef.Designer.cs
示例15: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (DeactivatableTestObject)obj;
var otherImpl = (DeactivatableTestObjectEfImpl)obj;
var me = (DeactivatableTestObject)this;
me.IsDeactivated = other.IsDeactivated;
me.Name = other.Name;
}
开发者ID:daszat,项目名称:zetbox,代码行数:10,代码来源:DeactivatableTestObject.Ef.Designer.cs
示例16: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (DateRangeFilterConfiguration)obj;
var otherImpl = (DateRangeFilterConfigurationNHibernateImpl)obj;
var me = (DateRangeFilterConfiguration)this;
me.IsCurrentMonthDefault = other.IsCurrentMonthDefault;
me.IsCurrentQuaterDefault = other.IsCurrentQuaterDefault;
me.IsCurrentYearDefault = other.IsCurrentYearDefault;
}
开发者ID:daszat,项目名称:zetbox,代码行数:11,代码来源:DateRangeFilterConfiguration.NHibernate.Designer.cs
示例17: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (YearFilterConfiguration)obj;
var otherImpl = (YearFilterConfigurationMemoryImpl)obj;
var me = (YearFilterConfiguration)this;
me.IsCurrentYearDefault = other.IsCurrentYearDefault;
}
开发者ID:daszat,项目名称:zetbox,代码行数:9,代码来源:YearFilterConfiguration.Memory.Designer.cs
示例18: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (StringParameter)obj;
var otherImpl = (StringParameterEfImpl)obj;
var me = (StringParameter)this;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:StringParameter.Ef.Designer.cs
示例19: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (Group)obj;
var otherImpl = (GroupEfImpl)obj;
var me = (Group)this;
me.ExportGuid = other.ExportGuid;
me.Name = other.Name;
this._fk_Module = otherImpl._fk_Module;
}
开发者ID:daszat,项目名称:zetbox,代码行数:11,代码来源:Group.Ef.Designer.cs
示例20: ApplyChangesFrom
public override void ApplyChangesFrom(IPersistenceObject obj)
{
base.ApplyChangesFrom(obj);
var other = (Visual)obj;
var otherImpl = (VisualMemoryImpl)obj;
var me = (Visual)this;
me.Description = other.Description;
this._fk_Method = otherImpl._fk_Method;
this._fk_Property = otherImpl._fk_Property;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:11,代码来源:Visual.Memory.Designer.cs
注:本文中的IPersistenceObject类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论