CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
IPropertyInfoFactory.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IPropertyInfoFactory.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Defines the interface for a factory object</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12
13namespace Csla.Core
14{
19 public interface IPropertyInfoFactory
20 {
29 Csla.PropertyInfo<T> Create<T>(Type containingType, string name);
41 Csla.PropertyInfo<T> Create<T>(Type containingType, string name, string friendlyName);
55 Csla.PropertyInfo<T> Create<T>(Type containingType, string name, string friendlyName, RelationshipTypes relationship);
70 Csla.PropertyInfo<T> Create<T>(Type containingType, string name, string friendlyName, T defaultValue);
87 Csla.PropertyInfo<T> Create<T>(Type containingType, string name, string friendlyName, T defaultValue, RelationshipTypes relationship);
88 }
89}
Maintains metadata about a property.
Defines the interface for a factory object that creates IPropertyInfo objects.
Csla.PropertyInfo< T > Create< T >(Type containingType, string name)
Creates a new instance of PropertyInfo.
RelationshipTypes
List of valid relationship types between a parent object and another object through a managed propert...