Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

SQLiteDatabaseAttribute

syadeu edited this page Apr 15, 2021 · 2 revisions

Namespace: Syadeu.Database

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class SQLiteDatabaseAttribute : Attribute

이 Field, 혹은 Property 를 SQLiteDatabase 용 변수로 선언합니다.

Inheritance: Attribute -> SQLiteDatabaseAttribute

Overview

  • SQLite 테이블 구조체 내, 어느 변수가 실제 Injection 타겟이 될지 설정할 수 있습니다.

Remarks

Description

Examples

// SQLite에서 사용하는 데이터 구조임을 선언합니다.
// 해당 어트리뷰트를 참조하지않으면 SQLiteDatabase 에서 읽어올 수 없고,
// CoreSystemException 을 Throw 합니다.
[SQLiteTable]
public struct TestTable
{
    // SQLite 테이블내, 값임을 선언합니다.
    // 이 어트리뷰트가 없으면 해당 변수는 Injection에서 무시됩니다.
    [SQLiteDatabase] public int Idx { get; set; }
    [SQLiteDatabase] public string TestValue { get; set; }
    
    // 이 변수는 SQLiteDatabase 에 의해 db에 저장되지않는 변수입니다.
    public bool TestBoolen { get; set; }
}

- Interfaces
- Enums
- Attributes
- Abstract Classes
- Classes
- Structs
- Exceptions

- Syadeu.Presentation
- Syadeu.Collections
- Syadeu.Collections.Converters
- Syadeu.Collections.Proxy
- Syadeu.Presentation.Proxy
- Syadeu.Presentation.Internal
- Syadeu.Presentation.Entities
- Syadeu.Presentation.Attributes
- Syadeu.Presentation.Components
- Syadeu.Presentation.Actions
- Syadeu.Presentation.Render
  • CameraData
  • CameraFrustum
  • IntersectionType
  • RenderSystem
  • WorldCanvasSystem
- Syadeu.Presentation.Data
  • DataContainerSystem
  • DataObjectBase
  • EntityAnimationClipEventData
- Syadeu.Presentation.Events

Clone this wiki locally