Search Results for

    Show / Hide Table of Contents

    Class ComplexTypeWriter

    Used to write the entity class definition for an existing LemonEdge complex type Interface (obtained from custom .net code)

    Inheritance
    object
    ComplexTypeWriter
    Implements
    IComplexTypeWriter
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.Writers
    Assembly: LemonEdge.API.dll
    Syntax
    public class ComplexTypeWriter : IComplexTypeWriter

    Constructors

    ComplexTypeWriter(IEntityWriter)

    Declaration
    public ComplexTypeWriter(IEntityWriter entityWriter)
    Parameters
    Type Name Description
    IEntityWriter entityWriter

    Methods

    WriteFile(Type, string, string)

    Writes the entity class definition for an existing LemonEdge complex type Interface (obtained from custom .net code)

    Declaration
    public string WriteFile(Type type, string customUsing, string @namespace = "LemonEdge.API.Entities")
    Parameters
    Type Name Description
    Type type

    The type of the complex type interface LemonEdge definition (must be marked with ComplexDefinitionAttribute)

    string customUsing
    string namespace
    Returns
    Type Description
    string

    The complete c# file for the defintion of the complex type entity

    Implements

    IComplexTypeWriter

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.