Click here to Skip to main content
15,892,746 members
Articles / Hosted Services / Azure

DataObjects.Net - ORM Framework for RAD - Introduction

Rate me:
Please Sign up or sign in to vote.
4.85/5 (15 votes)
7 Sep 2010CPOL11 min read 50K   1.1K   32  
Introduction into the ORM Framework DataObjects.Net from x-tensive
<?xml version="1.0"?>
<doc>
  <assembly>
    <name>Xtensive.Core.Aspects</name>
  </assembly>
  <members>
    <member name="F:Xtensive.Core.Aspects.ErrorLog.MessageSource">
      <summary>
            Gets the message source this log is bound to.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.ErrorLog.Write(PostSharp.Extensibility.SeverityType,Xtensive.Core.Aspects.Helpers.AspectMessageType,System.Object[])">
      <summary>
            Writes the standard message to the underlying PostSharp <see cref="F:Xtensive.Core.Aspects.ErrorLog.MessageSource" />.
            </summary>
      <param name="severity">The severity type.</param>
      <param name="messageType">The standard message type.</param>
      <param name="args">The message arguments.</param>
    </member>
    <member name="M:Xtensive.Core.Aspects.ErrorLog.Write(PostSharp.Extensibility.SeverityType,System.String,System.Object[])">
      <summary>
            Writes the message to the underlying PostSharp <see cref="F:Xtensive.Core.Aspects.ErrorLog.MessageSource" />.
            </summary>
      <param name="severity">The severity type.</param>
      <param name="format">The message format string.</param>
      <param name="args">The message arguments.</param>
    </member>
    <member name="M:Xtensive.Core.Aspects.ErrorLog.Debug(System.String,System.Object[])">
      <summary>
            Writes the debug message to the underlying PostSharp <see cref="F:Xtensive.Core.Aspects.ErrorLog.MessageSource" />.
            </summary>
      <param name="format">The message format string.</param>
      <param name="args">The message arguments.</param>
    </member>
    <member name="T:Xtensive.Core.Aspects.Helpers.AspectHelper">
      <summary>
            Helps to validate common aspect application errors.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.FormatType(System.Type)">
      <summary>
            Formats the type.
            </summary>
      <param name="type">The type to format.</param>
      <returns>String representation of the type.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.FormatConstructor(System.Type,System.Type,System.Type[])">
      <summary>
            Formats the method.
            </summary>
      <param name="type">The type where member is declared.
            <see langword="null" /> means no type name must be included into the format string.</param>
      <param name="returnType">Type of the constructed value.</param>
      <param name="parameterTypes">The method parameter types.</param>
      <returns>String representation of the member.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.FormatMethod(System.Type,System.Type,System.String,System.Type[])">
      <summary>
            Formats the method.
            </summary>
      <param name="type">The type where member is declared.
            <see langword="null" /> means no type name must be included into the format string.</param>
      <param name="returnType">Type of the return value.</param>
      <param name="methodName">Name of the method.</param>
      <param name="parameterTypes">The method parameter types.</param>
      <returns>String representation of the member.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.FormatMember(System.Type,System.Type,System.String)">
      <summary>
            Formats the member (field or property).
            </summary>
      <param name="type">The type where member is declared.
            <see langword="null" /> means no type name must be included into the format string.</param>
      <param name="returnType">Type of the member.</param>
      <param name="name">Name of the member.</param>
      <returns>String representation of the member.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.FormatMember(System.Type,System.Reflection.MemberInfo)">
      <summary>
            Formats the member name.
            </summary>
      <param name="type">The type where member is declared.
            <see langword="null" /> means no type name must be included into the format string.</param>
      <param name="member">The member to format.</param>
      <returns>String representation of the member.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.GetStandardMessage(Xtensive.Core.Aspects.Helpers.AspectMessageType)">
      <summary>
            Gets the standard localized message.
            </summary>
      <param name="messageType">Type of the message to get.</param>
      <returns>Standard localized message.</returns>
      <exception cref="T:System.ArgumentOutOfRangeException">
        <paramref name="messageType" /> is out of range.</exception>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.ValidateMemberType(System.Attribute,PostSharp.Extensibility.SeverityType,System.Reflection.MemberInfo,System.Boolean,System.Reflection.MemberTypes)">
      <summary>
            Validates the type of the member.
            </summary>
      <param name="aspect">The aspect.</param>
      <param name="severityType">The severity of the message to write to <see cref="T:Xtensive.Core.Aspects.ErrorLog" />.</param>
      <param name="member">The member to validate the type of.</param>
      <param name="containsFlags">If set to <see langword="true" />, member type 
            must contain <paramref name="memberTypes" /> flags;
            otherwise, it must not contain them.</param>
      <param name="memberTypes">Expected (or not) type(s) of the member.</param>
      <returns>
        <see langword="true" /> if validation has passed;
            otherwise, <see langword="false" />.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.ValidateBaseType(System.Attribute,PostSharp.Extensibility.SeverityType,System.Type,System.Boolean,System.Type)">
      <summary>
            Validates the implementation of <paramref name="baseType" /> 
            (e.g. interface) on the <paramref name="type" />.
            </summary>
      <param name="aspect">The aspect.</param>
      <param name="severityType">The severity of the message to write to <see cref="T:Xtensive.Core.Aspects.ErrorLog" />.</param>
      <param name="type">The type to validate for the implementation of <paramref name="baseType" />.</param>
      <param name="mustImplement">If set to <see langword="true" />, type 
            must implement <paramref name="baseType" />;
            otherwise, it must not implement it.</param>
      <param name="baseType">The base type to validate the implementation of.</param>
      <returns>
        <see langword="true" /> if validation has passed;
            otherwise, <see langword="false" />.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.ValidateMethodAttributes(System.Attribute,PostSharp.Extensibility.SeverityType,System.Reflection.MethodBase,System.Boolean,System.Reflection.MethodAttributes)">
      <summary>
            Validates the attributes of the method.
            </summary>
      <param name="aspect">The aspect.</param>
      <param name="severityType">The severity of the message to write to <see cref="T:Xtensive.Core.Aspects.ErrorLog" />.</param>
      <param name="method">The method to validate the attributes of.</param>
      <param name="containsFlags">If set to <see langword="true" />, method attributes
            must contain <paramref name="methodAttributes" /> flags;
            otherwise, it must not contain them.</param>
      <param name="methodAttributes">Expected (or not) attributes of the method.</param>
      <returns>
        <see langword="true" /> if validation has passed;
            otherwise, <see langword="false" />.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.ValidateMethod(System.Attribute,PostSharp.Extensibility.SeverityType,System.Type,System.Boolean,System.Reflection.BindingFlags,System.Type,System.String,System.Type[],System.Reflection.MethodInfo@)">
      <summary>
            Validates the presence of specified method on the <paramref name="type" />.
            </summary>
      <param name="aspect">The aspect.</param>
      <param name="severityType">The severity of the message to write to <see cref="T:Xtensive.Core.Aspects.ErrorLog" />.</param>
      <param name="type">The type to get the method of.</param>
      <param name="mustHave">If set to <see langword="true" />, type
            must have specified method;
            otherwise, it must not have it.</param>
      <param name="bindingFlags">Binding flags.</param>
      <param name="returnType">The return type of the method.</param>
      <param name="name">The name of the method.</param>
      <param name="parameterTypes">The types of method arguments.</param>
      <param name="method">The found method, or <see langword="null" /> if specified method was not found.</param>
      <returns>
        <see langword="true" /> if validation has passed; otherwise, <see langword="false" />.    
            </returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.IsInfrastructureMethod(System.Reflection.MethodBase)">
      <summary>
            Determines whether the specified method is infrastructure method.
            </summary>
      <param name="method">The method to check.</param>
      <returns>
        <see langword="true" /> if the specified method is infrastructure method; otherwise, <see langword="false" />.
            </returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.Helpers.AspectHelper.ContextActivationIsSuppressed(System.Reflection.MethodBase,System.Type)">
      <summary>
            Determines whether the specified method should not activate contexts with specified type.
            </summary>
      <param name="method">The method to check.</param>
      <param name="contextType">Type of the context.</param>
      <returns>
        <see langword="true" /> if the specified method should suppress context activation; otherwise, <see langword="false" />.
            </returns>
    </member>
    <member name="T:Xtensive.Core.Aspects.Helpers.AspectMessageType">
      <summary>
            Defines standard aspect message types.
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.AspectPossiblyMissapplied">
      <summary>
            "[{0}] attribute is possibly wrongly applied to '{1}'."
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.AspectRequiresToBe">
      <summary>
            "[{0}] attribute requires '{1}' to {2}be {3}."
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.AspectRequiresToHave">
      <summary>
            "[{0}] attribute requires '{1}' to {2}have {3}."
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.AspectMustBeSingle">
      <summary>
            "Multiple [{0}] attributes are applied to '{1}', but there must be a single one."
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.AutoProperty">
      <summary>
            "auto-property"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.PropertyAccessor">
      <summary>
            "property accessor"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.Getter">
      <summary>
            "getter"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.Setter">
      <summary>
            "setter"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.Public">
      <summary>
            "public"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.NonPublic">
      <summary>
            "non-public"
            </summary>
    </member>
    <member name="F:Xtensive.Core.Aspects.Helpers.AspectMessageType.Not">
      <summary>
            "not "
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.ImplementFactoryMethod">
      <summary>
            Implements static factory method that calls specified constructor found by its signature.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementFactoryMethod.CompileTimeValidate(System.Type)">
      <summary>
            Method invoked at build time to ensure that the aspect has been applied to
            the right target.
            </summary>
      <param name="type">Target element.</param>
      <returns>
        <c>true</c> if the aspect was applied to an acceptable target, otherwise
            <c>false</c>.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementFactoryMethod.#ctor(System.Type[])">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.ImplementFactoryMethod" /> class.
            </summary>
      <param name="parameterTypes">
        <see cref="P:Xtensive.Core.Aspects.ImplementFactoryMethod.ParameterTypes" /> property value.</param>
    </member>
    <member name="P:Xtensive.Core.Aspects.ImplementFactoryMethod.ParameterTypes">
      <summary>
            Gets the protected constructor argument types.
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.ReplaceAutoProperty">
      <summary>
            Replaces auto-property implementation to invocation of property get and set generic handlers.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.ReplaceAutoProperty.CompileTimeValidate(System.Reflection.MethodBase)">
      <summary>
            Method invoked at build time to ensure that the aspect has been applied to
            the right target.
            </summary>
      <param name="method">Target element.</param>
      <returns>
        <c>true</c> if the aspect was applied to an acceptable target, otherwise
            <c>false</c>.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.ReplaceAutoProperty.#ctor(System.String)">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.ReplaceAutoProperty" /> class.
            </summary>
      <param name="handlerMethodSuffix">
        <see cref="P:Xtensive.Core.Aspects.ReplaceAutoProperty.HandlerMethodSuffix" /> property value.</param>
    </member>
    <member name="P:Xtensive.Core.Aspects.ReplaceAutoProperty.HandlerMethodSuffix">
      <summary>
            Gets the name suffix of handler methods.
            </summary>
      <remarks>
            If suffix is "Value", handler methods should be
            <c>T GetValue&lt;T&gt;(string name)</c> and
            <c>void SetValue&lt;T&gt;(string name, T value)</c>.
            </remarks>
    </member>
    <member name="T:Xtensive.Core.Aspects.ImplementConstructor">
      <summary>
            Implements protected constructor with a set of specified parameter types.
            Implemented constructor will call the constructor with the same set of arguments from the base type.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementConstructor.CompileTimeValidate(System.Type)">
      <summary>
            Method invoked at build time to ensure that the aspect has been applied to
            the right target.
            </summary>
      <param name="type">Target element.</param>
      <returns>
        <c>true</c> if the aspect was applied to an acceptable target, otherwise
            <c>false</c>.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementConstructor.#ctor(System.Type[])">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.ImplementConstructor" /> class.
            </summary>
      <param name="parameterTypes">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructor.ParameterTypes" /> property value.</param>
    </member>
    <member name="P:Xtensive.Core.Aspects.ImplementConstructor.ParameterTypes">
      <summary>
            Gets the constructor parameter types.
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.ImplementConstructorEpilogue">
      <summary>
            Implements epilogue call in constructor.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementConstructorEpilogue.CompileTimeValidate(System.Reflection.MethodBase)">
      <summary>
            Method invoked at build time to ensure that the aspect has been applied to
            the right target.
            </summary>
      <param name="method">Target element.</param>
      <returns>
        <c>true</c> if the aspect was applied to an acceptable target, otherwise
            <c>false</c>.</returns>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementConstructorEpilogue.#ctor(System.Type,System.String)">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.ImplementConstructorEpilogue" /> class.
            </summary>
      <param name="handlerType">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerType" /> property value.</param>
      <param name="handlerMethodName">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerMethodName" /> property value.</param>
    </member>
    <member name="M:Xtensive.Core.Aspects.ImplementConstructorEpilogue.#ctor(System.Type,System.String,System.String)">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.ImplementConstructorEpilogue" /> class.
            </summary>
      <param name="handlerType">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerType" /> property value.</param>
      <param name="handlerMethodName">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerMethodName" /> property value.</param>
      <param name="errorHandlerMethodName">
        <see cref="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.ErrorHandlerMethodName" /> property value.</param>
    </member>
    <member name="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerType">
      <summary>
            Gets the type where epilogue method is declared.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.HandlerMethodName">
      <summary>
            Gets the name of the epilogue method to call.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.ImplementConstructorEpilogue.ErrorHandlerMethodName">
      <summary>
            Gets the name of the initialization error handler method to call.
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.InfrastructureAttribute">
      <summary>
            Marks a method or property as infrastructure method or property.
            No any aspects will be applied to it by default.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.NotSupportedAttribute.#ctor">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.NotSupportedAttribute" /> class.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.NotSupportedAttribute.#ctor(System.String)">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.NotSupportedAttribute" /> class.
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.SuppressActivationAttribute">
      <summary>
            Suppresses the activation of context of specified <see cref="P:Xtensive.Core.Aspects.SuppressActivationAttribute.ContextType" /> 
            for the method it is applied on.
            </summary>
    </member>
    <member name="M:Xtensive.Core.Aspects.SuppressActivationAttribute.#ctor(System.Type)">
      <summary>
            Initializes a new instance of the <see cref="T:Xtensive.Core.Aspects.SuppressActivationAttribute" /> class.
            </summary>
      <param name="contextType">Type of the context to suppress activation for.</param>
    </member>
    <member name="P:Xtensive.Core.Aspects.SuppressActivationAttribute.ContextType">
      <summary>
            Gets or sets the type of the context to suppress activation for.
            </summary>
      <remarks>If <see cref="P:Xtensive.Core.Aspects.SuppressActivationAttribute.ContextType" /> is <see langword="null" />
             then context activation for all contexts must be suppressed.
            </remarks>
    </member>
    <member name="T:Xtensive.Core.Aspects.Log">
      <summary>
            Log for this namespace.
            </summary>
    </member>
    <member name="T:Xtensive.Core.Aspects.Resources.Strings">
      <summary>
              A strongly-typed resource class, for looking up localized strings, etc.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.ResourceManager">
      <summary>
              Returns the cached ResourceManager instance used by this class.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.Culture">
      <summary>
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExCannotFindLogFor">
      <summary>
              Looks up a localized string similar to Cannot find Log for type '{0}' in namespace '{1}' and above..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExMustBeSingle">
      <summary>
              Looks up a localized string similar to Multiple [{0}] attributes are applied to '{1}', but there must be a single one..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExPossiblyMissapplied">
      <summary>
              Looks up a localized string similar to [{0}] attribute is possibly wrongly applied to '{1}'..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExRequiresToBe">
      <summary>
              Looks up a localized string similar to [{0}] attribute requires '{1}' to {2}be {3}..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExRequiresToHave">
      <summary>
              Looks up a localized string similar to [{0}] attribute requires '{1}' to {2}have {3}..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectExRequiresToImplement">
      <summary>
              Looks up a localized string similar to [{0}] attribute requires '{1}' to {2}implement '{3}'..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AspectXCanNotBeAppliedToInfrastructureMethod">
      <summary>
              Looks up a localized string similar to Aspect {0} can not be applied to infrastructure method..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.AutoProperty">
      <summary>
              Looks up a localized string similar to auto-property.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.Getter">
      <summary>
              Looks up a localized string similar to getter.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.LogCantLogNoLogError">
      <summary>
              Looks up a localized string similar to Can't log '{0}' invocation: Instance property of found Log object returned an object other then ILog..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.LogCantResolveLogType">
      <summary>
              Looks up a localized string similar to [{0}] attribute: can't resolve LogType, or underlying Log has no Instance property..
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.MemberFormat">
      <summary>
              Looks up a localized string similar to {0} {1}.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.MethodFormat">
      <summary>
              Looks up a localized string similar to {0} {1}({2}).
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.NonPublic">
      <summary>
              Looks up a localized string similar to non-public.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.Not">
      <summary>
              Looks up a localized string similar to not .
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.PropertyAccessor">
      <summary>
              Looks up a localized string similar to property accessor.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.Public">
      <summary>
              Looks up a localized string similar to public.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.Setter">
      <summary>
              Looks up a localized string similar to setter.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.XD0001">
      <summary>
              Looks up a localized string similar to Debug: {0}.
            </summary>
    </member>
    <member name="P:Xtensive.Core.Aspects.Resources.Strings.XW0001">
      <summary>
              Looks up a localized string similar to {0}.
            </summary>
    </member>
  </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Germany Germany
I'm a Senior Software Consultant
Thomas Maierhofer Consulting

Comments and Discussions